How it works
Scaling up
Adding resources to one server is simple but hits a hardware ceiling and remains a single point of failure.
Scaling out
Adding servers scales further and improves fault tolerance but requires load balancing and state distribution.
Statelessness
Horizontal scaling is easiest when services are stateless, so any node can handle any request.