Elliot

Stateful vs Stateless backend architecture

Sun Mar 10

In the world of software design, two key architectural concepts define how applications handle information: stateful and stateless.

Stateful backend

Sateless backend

horizontal scaling: refers to the ability to increase the capacity of a system by adding more servers, rather than increasing the capacity of a single server.

This simplicity facilitates horizontal scaling and load balancing across multiple servers, as any server can handle any request without needing to synchronize state information with other servers. Which is also commonly deployed in microservices architecture



Source: Fundamentals of Backend Engineering