Skip to main content

Horizontal scaling

Handling more load by running more instances of a service, rather than making one instance larger.

Scaling out only works if instances are interchangeable — no in-memory session state, no local files that matter, no assumption that a given user reaches the same process twice. Making a service stateless is usually the real work; adding instances is the easy part.

See also