Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Post History

22%
+0 −5
Q&A Why do you need virtual machines in these examples? [closed]

I added the numbering. It's a virtual machine. Basically, it's one or more computers pretending to be one or more computers. Believe it or not, this is incredibly useful. Say you have som...

0 answers  ·  posted 3y ago by TextKit‭  ·  closed 3y ago by Alexei‭

Question algorithms
#2: Question closed by user avatar Alexei‭ · 2021-03-05T16:35:28Z (over 3 years ago)
#1: Initial revision by user avatar TextKit‭ · 2021-03-05T07:54:58Z (over 3 years ago)
Why do you need virtual machines in these examples?
[I added the numbering.](https://old.reddit.com/r/explainlikeimfive/comments/2atafo/eli5_what_is_a_vm_and_whats_the_point_of_running/ciyk19i/)

>It's a virtual machine. Basically, it's one or more computers pretending to be one or more computers. Believe it or not, this is incredibly useful.

>1. Say you have some services that are busy during the day and others that are busy at night. You need 50 computers to do each of those things. You can now do both with 50 computers by giving priority to VMs based on time of day.

1.1. If you're running some services during the day and other services during the night, then these services won't happen at different times and won't interfere with each other! Why do you need VMs to distinguish these services? 

>2. Say you have mission-critical services. You put them on some VMs hosted on a farm of computers. One of the computers has a hardware failure. Without affecting the uptime of the service, you can take the physical machine out of the farm and repair or replace it.

2.1. This sounds like uploading the mission-critical services to a cloud server? Then why do you need VMs? What if the VMs are on the computer that had crashed? 

>3. Say you have a lot of little tiny apps that don't really need much power at all. You can put them each on independent VMs, all running on one or two physical computers, saving a boatload of money on hardware.

3.1. If your "tiny apps" "don't really need much power at all", then how can you save money on hardware? Why do you need "independent VMs"?