process type
A named kind of work an app does, such as web for requests, worker for queued jobs or clock for scheduled tasks.
In more detail
Each type is started by its own foreground command, usually listed in a Procfile. Scaling means changing how many processes of each type run. On shutdown a web process stops accepting connections and finishes current requests, and a worker returns its current job to the queue.
Related terms
- process formation — The set of process types an app runs and how many of each are running.
- Procfile — A text file listing one line per process type and the command that starts it, first used by Heroku.
- concurrency — Having several pieces of work in progress during overlapping periods of time, such as requests being handled at once.
Taught in
- Port Binding And Concurrency — DevOps & Site Reliability Engineering
- Disposability, Dev Prod Parity And Logs — DevOps & Site Reliability Engineering