Scalability: A system's ability to handle more users, requests, or data by adding resources, without slowing down or breaking.
Example
An exam results website handles 1,000 users on a normal day. On results day, 200,000 students log in within an hour. A scalable design adds servers automatically; a poorly designed one crashes.
Vertical vs Horizontal Scaling
| Vertical scaling (scale up) | Horizontal scaling (scale out) | |
|---|---|---|
| How | Give one server more CPU and memory | Add more servers |
| Limit | The biggest machine available | Practically much higher |
| Downtime | Often needs a restart | Usually none |
| Example | Upgrading a database server | Running ten copies of an API behind a load balancer |
What Makes an Application Scale
- Stateless services, so any copy can handle any request.
- A load balancer spreading traffic across servers.
- Caching frequently read data, for example with Redis.
- Efficient database queries and indexes.
- Queues for slow work, such as sending emails.
- Auto-scaling in the cloud or Kubernetes.
Scalability vs Performance
Performance is how fast the system is for one user now. Scalability is whether it stays fast as load grows. A page can be fast with 10 users and unusable with 10,000. Both are non-functional requirements.
Related terms
- Availability: staying up while scaling.
- Cloud Computing: makes scaling quick and flexible.
- Kubernetes: automates scaling of containers.
- Non-Functional Requirement: scalability is one.
Previous term: Runtime | Next term: Scrum
Related guides
- Technical Interview Questions for Freshers
- Azure Interview Questions Test
- Which Technology Should I Learn for an IT Internship?
Frequently asked questions
What is scalability in software?
Scalability is a system's ability to handle more users or data by adding resources, without slowing down or failing.
What is the difference between vertical and horizontal scaling?
Vertical scaling makes one server more powerful. Horizontal scaling adds more servers.
What is auto-scaling?
Automatically adding or removing servers or containers based on load, a common cloud feature.
Is scalability the same as performance?
No. Performance is speed under current load. Scalability is keeping that speed as load grows.
Explore more internship terms
The IT Internship Glossary explains 199 terms you will hear before and during your internship, with simple definitions and real examples.
Browse all 199 terms