disposability
The property of a process that can be started or stopped at a moment’s notice without harm.
In more detail
Factor IX of the twelve-factor app: fast startup and graceful shutdown. Start up should take seconds, because deployment, scaling and recovery all wait on it. On SIGTERM a process finishes its work and exits; it must also survive sudden death, because hardware fails and schedulers evict.
Related terms
- graceful shutdown — Stopping a service in an orderly way: finish current work, close connections, then exit.
- SIGTERM — The signal that politely asks a process to finish its work and exit.
- stateless process — A process that keeps nothing it needs between requests in its own memory or disk, so it can be restarted or replaced at any moment.
Taught in
- Disposability, Dev Prod Parity And Logs — DevOps & Site Reliability Engineering