A Twelve-Factor App should promote elastic scaling. Hence, they should be disposable. They can be started and stopped when needed.
A Twelve-Factor App should do the following:
- Have minimum startup time. A long startup time means a long delay before an application can take requests.
- Shut down gracefully.
- Handle hardware failures gracefully.