Disposability: Maximize robustness with fast startup and graceful shutdown

By HelloWorld PC
·1 min read
Disposability: Maximize robustness with fast startup and graceful shutdown

The twelve-factor app’s processes are disposable, meaning they can be started or stopped at a moment’s notice.

This facilitates fast elastic scaling, rapid deployment of code or config changes, and robustness of production deploys.

Processes should strive to minimize startup time. Ideally, a process takes a few seconds from the time the launch command is executed until the process is up and ready to receive requests or jobs.

Processes should also be robust against sudden death, in the case of a failure in the underlying hardware. Cheers!!

Share it:

facebooktwitterlinkedin