Stateless vs Stateful Systems
A stateless applications doesn’t save the client data from one session for use in the next session.
Whereas a stateful application saves data from one session for use in the next session.
Scaling Stateless Applications
Can simply add more instances to your infrastructure to handle an increase in load. Similarly, you can easily remove the unused instances to optimize resource utilization and save costs.
Scaling Stateful Applications
Stateful systems require sticky sessions or data replication across instances.