Concurrency Process Model
Scale out, not up. Each process type is a horizontally-scalable share-nothing unit.
$ prime install @backend-architecture/principle-concurrency-process-model Projection
Always in _index.xml · the agent never has to ask for this.
ConcurrencyProcessModel [principle] v1.0.0
Scale by adding processes, not by making one process bigger. Different work types map to different process types — web for HTTP, worker for background jobs, clock for scheduled tasks. Each type scales independently. The unix process is the unit of scale.
Scale out, not up. Each process type is a horizontally-scalable share-nothing unit.
Loaded when retrieval picks the atom as adjacent / supporting.
ConcurrencyProcessModel [principle] v1.0.0
Scale by adding processes, not by making one process bigger. Different work types map to different process types — web for HTTP, worker for background jobs, clock for scheduled tasks. Each type scales independently. The unix process is the unit of scale.
Scale out, not up. Each process type is a horizontally-scalable share-nothing unit.
Applies To
- Procfile-style declaration of process types: web, worker, scheduler.
- Each type scales by count: 'web=10, worker=4, scheduler=1'.
- Internal threading is fine inside a process, but never the only scaling lever.
Loaded when retrieval picks the atom as a focal / direct hit.
ConcurrencyProcessModel [principle] v1.0.0
Scale by adding processes, not by making one process bigger. Different work types map to different process types — web for HTTP, worker for background jobs, clock for scheduled tasks. Each type scales independently. The unix process is the unit of scale.
Scale out, not up. Each process type is a horizontally-scalable share-nothing unit.
Applies To
- Procfile-style declaration of process types: web, worker, scheduler.
- Each type scales by count: 'web=10, worker=4, scheduler=1'.
- Internal threading is fine inside a process, but never the only scaling lever.
Relations
requires: [@backend-architecture/rule-stateless-processes]
Requires
- @backend-architecture/rule-stateless-processes
Source
prime-system/examples/backend-architecture/primes/compiled/@backend-architecture/principle-concurrency-process-model/atom.yaml