BolEnglishLearn · Play · Win
Login

📈 Software Design & Architecture · Architecture Evaluation Factors

📈

Scalability

Quality AttributeCoreModule 1

The ability to handle increasing users, data, transactions, or workload.

A design that works for 100 users should have a reasonable path to support 100,000 users.

💡 In practice

An API can add more application servers when traffic grows instead of requiring a complete rewrite.

🖼️ CONCEPT PICTURE
A picture to help remember Scalability
An API can add more application servers when traffic grows instead of requiring a complete rewrite.

💡 Picture adding more checkout counters as the queue grows — not forcing everyone through one till faster and faster.

💡 Learn🛠️ Apply🎯 Check

💡 Why it matters

Success brings load. A design that only works for today's traffic can fail when users, data or transactions grow — often at the worst moment. Scalability is having a sane path to grow.

🛠️ How to achieve it

1
Scale out, not just up
Add more servers behind a load balancer instead of relying on one ever-bigger machine.
2
Keep services stateless
Store session and state in a shared place so any server can handle any request.
3
Cache and offload
Cache hot data and push heavy work to queues so the system absorbs spikes.
4
Design the data layer to grow
Use indexes, and partition or shard large data when needed.

⚠️ Signs of trouble

  • •Response times climb as users or data grow.
  • •Only one server can do a job, and it becomes the bottleneck.
  • •The database is the thing that always maxes out.
⚠️ Common mistake: Assuming 'it works for 10 users on my machine' means it works for 10,000 — scaling problems appear only under real load.

🎯 Quick check

Score: 0/2

Three questions to test the idea.

  1. 1. What is horizontal scaling?

    Answer: Adding more machines to share the load

    Horizontal scaling adds more instances; vertical scaling makes one machine bigger.

  2. 2. Which design scales most easily under growing traffic?

    Answer: Stateless servers behind a load balancer

    Stateless servers let you add instances freely, and a load balancer spreads the work.

🔑 Key terms

Horizontal scaling
Adding more machines to share the load.
Vertical scaling
Making one machine bigger.
Load balancer
Spreads incoming traffic across servers.
Stateless
A server keeps no per-user memory between requests.

✅ Review checklist

📊 Your progress

0%
Mark this topic learned to track it.
Saved in this browser.
🚀 Got it?
Mark it learned and move to the next topic.
Next topic →