Solvarch
DSA ProblemsProgressPlanRoadmapsReviewCheat SheetsCompaniesSystem DesignCS FundamentalsQuestion Bank
Theme

System Design

Case studies with real architectures, plus the HLD and LLD concepts interviewers probe.

0/34 completed

Case Studies

Design a URL Shortener

TinyURL/bit.ly — ID generation, redirects at scale, caching, and analytics.

4 min readhashingcachingread-heavy

Design Twitter

Fan-out strategies, timeline caching, and the celebrity problem.

4 min readfan-outcachingfeeds

Design Uber

Geospatial indexing, real-time driver matching, and location update firehoses.

4 min readgeospatialwebsocketsmatching

Design Netflix

Video pipelines, adaptive bitrate streaming, and CDN-first architecture.

4 min readcdnstreamingvideo

Design WhatsApp

Message delivery guarantees, connection management, and end-to-end encryption plumbing.

3 min readmessagingwebsocketsdelivery-guarantees

Design Instagram

Media-heavy feeds, blob storage with CDNs, and precomputed timelines.

3 min readfeedsblob-storagecdn

Design a Web Crawler

Frontier queues, politeness, dedup at billions of pages, and the trap-filled real web.

3 min readqueuesdedupdistributed

Design Typeahead / Autocomplete

Google-style search suggestions — tries with precomputed top-K, sub-50ms reads, and streaming updates.

3 min readtriescachingread-heavy

Design a Notification System

Push, email, and SMS at scale — fan-out, rate limiting per user, dedup, and delivery guarantees.

3 min readqueuesfan-outreliability

Design Dropbox / Google Drive

File sync — chunking, content-addressed dedup, delta sync, and conflict resolution.

3 min readstoragesyncchunking

Design Ticketmaster / BookMyShow

Seat booking under contention — reservations with TTL, virtual waiting rooms, and surviving the on-sale spike.

4 min readtransactionscontentionspikes

Design Google Docs

Real-time collaborative editing — OT vs CRDTs, presence, and why last-write-wins destroys documents.

4 min readrealtimeconsistencywebsockets

High-Level Design

Scalability — Vertical vs Horizontal

How systems grow, why stateless services matter, and where the real bottlenecks hide.

2 min
Load Balancing

L4 vs L7, balancing algorithms, health checks, and avoiding the LB as a single point of failure.

2 min
Caching Strategies

Cache-aside vs write-through, eviction, TTLs, and the three classic cache failure modes.

2 min
Database Sharding

Partitioning strategies, shard keys, hot spots, and what you give up when you shard.

2 min
CAP Theorem & Consistency Models

What CAP actually says, AP vs CP in practice, and the consistency spectrum beyond it.

2 min
Message Queues & Event Streaming

Queues vs logs, delivery guarantees, idempotency, and when async is the right call.

2 min
Microservices vs Monoliths

Service boundaries, inter-service communication, and the costs nobody budgets for.

2 min
Content Delivery Networks

Edge caching, push vs pull, invalidation, and what belongs on a CDN.

2 min
Rate Limiting

Token bucket vs sliding window, distributed counters, and what to return when you throttle.

2 min
Consistent Hashing

Why mod-N fails, the hash ring, virtual nodes, and where consistent hashing shows up.

2 min
Database Replication

Leader-follower, sync vs async, replication lag, and failover without losing writes.

3 min
API Design — REST, gRPC, GraphQL

Resource modeling, pagination, versioning, idempotency, and picking the right protocol.

3 min
Real-Time Delivery — Polling, SSE, WebSockets

Getting server events to clients — the four options, their costs, and scaling the connection layer.

3 min
Distributed Transactions & Sagas

Keeping multiple services consistent — 2PC, sagas, the outbox pattern, and idempotency as a way of life.

4 min
Observability — Logs, Metrics, Traces

The three pillars, SLIs/SLOs and error budgets, and alerting that doesn't cry wolf.

4 min

Low-Level Design

SOLID Principles

The five principles with violations and fixes you can actually cite in an interview.

2 min
Design Patterns for Interviews

The dozen patterns that actually appear in LLD rounds, with when-to-use triggers.

2 min
How to Run an LLD Interview

A repeatable method for object-oriented design rounds — parking lot walked end to end.

2 min
Class Diagrams & UML, the Useful Subset

The 20% of UML you need to whiteboard designs clearly — relationships, arrows, and multiplicity.

2 min
LLD: Design a Parking Lot

The canonical LLD warm-up — entities, enums vs hierarchies, spot allocation, and pricing strategies.

3 min
LLD: Design an Elevator System

State machines, the SCAN scheduling insight, and dispatching across multiple cars.

3 min
LLD: Design Splitwise

Expense splitting — the balance-sheet model, split strategies, paise-rounding, and the debt-simplification graph problem.

3 min