probably a few milliseconds
- 2. Designing Microservices
- from Microservices for the Enterprise: Designing, Developing, and Deploying
- Publisher: Apress
- Released: November 2018
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).
Share this highlighthttp://www.safaribooksonline.com/a/microservices-for-the/20440977/