Re:Zerg demo – Xen instance spawned for each web request
by nkozyra on Tuesday February 19, 2013 @07:55AM
(#5243984)
I got 3 seconds.
But that isn't 3 seconds to serve the page. That's 3 seconds to basically build and boot the "server" on-demand, start all necessary daemons and serve the page.
Now think about what happened when you needed to add a Web server 10 years ago.
Re:Zerg demo – Xen instance spawned for each web request
by thu on Tuesday February 19, 2013 @05:10AM
(#5243541)
It is just an example to show how quickly they can provision a new vm+server. They are not advocating for it to be a good way to serve requests.
Re:Zerg demo – Xen instance spawned for each web request
by viktorsovietov on Tuesday February 19, 2013 @05:22AM
(#5243575)
libvirt is the limit in this case...
Re:Zerg demo – Xen instance spawned for each web request
by viktorsovietov on Tuesday February 19, 2013 @04:13AM
(#5243398)
Right, it's just example, right, it dies after each request - you can check the code on github. Also, you can review the detailed structure of time spending on the second half of zerg's page.
Because 1.5 secs per request, and more for somewhat more complex operations, seems long to me. As instance startup time it is impressive though! But they are designed to die after each request, right? Or is that just this example?