Overview
Scalability is the ability of an application to maintain performance as the number of users or the volume of data increases.
Types
- Vertical Scalability (Scaling Up): Adding more power (CPU, RAM) to an existing server.
- Horizontal Scalability (Scaling Out): Adding more servers to the system.
Key Considerations
- Statelessness: Making it easier to add more instances of a service.
- Database Scaling: Using techniques like sharding or replication.
- Load Balancing: Distributing traffic across multiple instances.