ayushsalampuriya.xyz Revise

Backend System Design

Concept Questions

Short verbal drills. Answer in 60–90 seconds each — definitions, when to use, and one trade-off.

1. How to use this page

Cover the question, speak your answer, then check the bullet points. These are the “concept” questions interviewers ask before or during a design.

2. Scaling and architecture

What is horizontal vs vertical scaling?

When do you add a load balancer?

What does “stateless app server” mean?

3. Caching

Explain cache-aside.

What is a cache stampede?

4. Data and consistency

CAP in one sentence?

What is a quorum (N / W / R)?

What is replication lag?

SQL vs NoSQL — when?

What is a bloom filter?

What is hinted handoff?

5. Hashing and edge

Why consistent hashing?

When do you use a CDN?

6. Async and messaging

When do you use a message queue?

What is idempotency?

At-least-once vs exactly-once?

7. Availability

What is a circuit breaker?

Quick revision

  • Practice out loud — 60–90s answers with one trade-off.
  • Stateless + LB unlocks horizontal scale.
  • Quorum N/W/R, bloom filters, hinted handoff — Dynamo vocabulary.
  • Consistent hashing for rebalance; CDN for global static.
  • Idempotency + at-least-once is the default async story.
  • CAP / lag / circuit breaker show up in almost every round.