O'Reilly logo
  • Derek Harmon thinks this is interesting:

probably a few milliseconds

From

Cover of Microservices for the Enterprise: Designing, Developing, and Deploying

Note

If deployment involves starting-up a new virtual machine, that will normally take many, many seconds.

What you can do is have ready a small number of virtual machines already running warm with all prerequisites packages pre-installed. When you need to bring up a new replacement host, these are standing by to be hydrated with your container as quickly as it can be downloaded onto them and started.

Another alternative is to use a serverless offering, and then your cloud service provider will elastically do the above for you behind the scenes (although you don't have as much control if your cloud service provider assumes this responsibility).