Re:Zerg: Boot a VM instance per request, all in under 250 ms
by pjc50 on Thursday December 28, 2017 @06:55AM
(#16021566)
Yes, but you could let a load balancer handle that for you, and you might not need as many computers to handle the requests if it didn't take 250ms to start.
[ Parent
| on HN ]
Re:Zerg: Boot a VM instance per request, all in under 250 ms
by sitkack on Thursday December 28, 2017 @07:43AM
(#16021714)
Booting a VM should be "as complex" as fork. And the memory image of the booted OS should be identical on each load before the end user specific data is loaded.
"Prefork" these VMs by spraying that image over physical memory in advance, jump to them on a request. memcopy a new VM over them on exit.
VM spawn rate should be the memcopy rate, if the MMU is powerful enough, should only be the amount of memory mutated during a request.