Practice with purpose.
Practice LLD problems →Practice the DSA problem bank →Take on a problem. Explain your decisions. Find your next improvement.
A system design interview asks you to make useful decisions while the problem is still incomplete.
Preparation works best as a loop: learn one mechanism, retrieve it from memory, apply it to a new prompt, and review where your explanation failed.
A fresher-to-staff interview guide: clarification questions, a 45-minute answer sequence, invariants, failures and role-specific evidence.
A complete interview framework with a worked notification design.
Use core concepts as tools for explaining a workload, not as vocabulary to recite.
Follow one video from a durable upload request to verified playback, and see where each technology role fits.
A question breakdown is a worked example of the delivery framework, not a diagram to memorize.
Trace what changes between a cold HTTPS request, a reused connection, and a regional path.
Trace what changes between a cold HTTPS request, a reused connection, and a regional path.
Five scenario questions with explanations and a visual checkpoint.
Build a notification data model from requirements, real records and queries; compare storage families and defend its failure behavior.
Build a notification data model from requirements, real records and queries; compare storage families and defend its failure behavior.
A cache stores a reusable answer closer to the caller or cheaper than the source.
Sharding divides data across independent storage owners so one machine does not need to hold or process everything.
A placement rule should not move nearly every key whenever membership changes.
Five scenario questions with explanations and a visual checkpoint.
CAP concerns what a distributed system can guarantee while communication is partitioned.
Five scenario questions with explanations and a visual checkpoint.
An index is an extra access path that trades storage and write work for less read work.
Five scenario questions with explanations and a visual checkpoint.
Estimation is a way to expose constraints, not a memory contest about hardware constants.
Five scenario questions with explanations and a visual checkpoint.
Separate durable acknowledgement, read visibility and safe promotion through a concrete replica history.
Predict write skew, enforce a shared invariant and retry whole transactions safely.
Scope operation identities, couple deduplication to effects and resolve uncertain provider outcomes.
Trace majority authority and reject a paused obsolete worker at the protected destination.
Recover publication gaps, duplicate deliveries and uncertain compensation using durable business state.
Bound deadlines, queues, concurrency and retry work; calculate safe admission and recovery.
Define measurable user outcomes, calculate error budgets and diagnose finite-capacity failures with safe telemetry.
Enforce trusted tenant, object and field permissions across APIs, caches, projections and asynchronous work.
Choose clock and identity semantics, trace causal ordering and preserve identifier uniqueness across rollback and restart.
Connect access paths to durable acknowledgement, version retention, amplification and verified recovery.
Test mixed-version contracts, semantic meaning, retained replay and identity-preserving rollout or rollback.
A Bloom filter is a compact probabilistic set-membership structure. It answers definitely absent or possibly present; a positive never proves membership.
Network behavior is a chain of independently failing boundaries, not a single request hop.
Database performance follows physical access paths and storage-engine behavior, not the database label.
Partitioning divides data ownership; replication copies data. Sharding is a distributed partitioning strategy, not a synonym for replication.
Consistency is an operation-level promise about what callers observe after concurrent updates and failures.
Messaging systems differ in retention, consumer ownership, ordering, replay and acknowledgement semantics.
Create and resolve unique short links with bounded revocation, safe retries, and optional analytics.
Create and resolve unique short links with bounded revocation, safe retries, and optional analytics.
Design a file synchronization service with resumable uploads, immutable versions, multiple devices, and explicit conflict handling.
Design file upload and synchronization with separate metadata and bytes.
Design a local delivery checkout that finds a serviceable warehouse, shows availability, and accepts an order without overselling stock.
Design a service that matches customers placing local orders with couriers, tracks pickup and delivery, and communicates changes.
Design a reserved-seat ticket sale with temporary holds and payment confirmation. One seat may have at most one confirmed owner.
The hard part of a ticket sale is scarce inventory under a burst, not drawing a payment box.
Design a feed from posts and follow relationships with hybrid fanout, ranking, stable pagination, privacy changes, and deletion.
Design a feed from posts and a follow graph, with ranking, pagination, deletion, and privacy.
Design a feed from posts and follow relationships with hybrid fanout, ranking, stable pagination, privacy changes, and deletion.
Design a dating discovery service that returns eligible nearby profiles, records directional swipes, and creates one match after reciprocal likes.
Design a location-aware discovery and matching service with profile cards, likes, mutual matches, and messaging handoff.
Design an online judge that executes submitted programs against versioned hidden tests. Treat submitted code as hostile.
Design a messaging service around three separate facts: the server accepted a message, a device received it, and a person read it.
Design a direct and group messaging service that accepts messages durably, delivers to connected devices, and lets offline devices recover missed history.
Design a distributed quota service that decides allow or deny for a principal and returns a retry hint while protecting downstream APIs.
Design an admission control service that limits requests by a documented identity and time policy.
Design video upload, processing, publication, and adaptive playback so viewers can start watching before every rendition is ready.
Design a comment stream for live videos, including durable posting, fast fanout, reconnect, and moderation.
Design a top-K service that reports the most-viewed videos for a rolling time window and corrects results when delayed or duplicate view events arrive.
Find the most viewed videos over a time range, such as the top 100 during the last hour.
Design ride matching by separating approximate discovery from exclusive assignment.
Design ride matching that uses fresh driver locations, sends bounded offers, and assigns at most one driver to a ride and one ride to a driver.
Design a polite crawler that accepts seed URLs, schedules eligible fetches, stores normalized content, and recovers work after worker crashes.
Design a near-real-time campaign click dashboard with replay and late-arrival correction. Explicitly separate dashboard estimates from billing finalization.
Count ad clicks per campaign and time window while accepting retries, late arrivals, and reprocessing.
Design post search that indexes authored text quickly while checking current visibility and access permissions before returning results.
Design search across posts while respecting audience visibility, deletion, and recent edits.
Design nearby business search with category, text, radius, opening-hours filters, and paginated results.
Design nearby business search with text, category, and geographic filters.
Design media upload and publication plus a home feed that combines ordinary-account fanout with bounded read-time merging for very large creators.
Record routes offline, reconcile idempotent uploads, and publish versioned privacy-safe activity and segment views.
Record routes offline, reconcile idempotent uploads, and publish versioned privacy-safe activity and segment views.
Record routes offline, reconcile idempotent uploads, and publish versioned privacy-safe activity and segment views.
Bound memory, TTL, routing, migration, and refill work for a disposable distributed cache.
Bound memory, TTL, routing, migration, and refill work for a disposable distributed cache.
Bound memory, TTL, routing, migration, and refill work for a disposable distributed cache.
An auction needs an authoritative rule for bid acceptance and closing.
Run a 40-minute self-guided auction design session. Define bid acceptance, deadline rules, winner selection, and payment recovery.
Run a 40-minute self-guided auction design session. Define bid acceptance, deadline rules, winner selection, and payment recovery.
Design a scheduler that materializes recurring occurrences, leases due work to workers, and supports retries, cancellation, and recovery after partial execution.
Design a service that runs delayed and recurring jobs with retries, cancellation, and multiple worker regions.
Run a 30-minute self-guided design session for a news aggregator. Build ingestion, deduplication, and a paginated topic feed, then respond to changing conditions.
Run a 30-minute self-guided design session for a news aggregator. Build ingestion, deduplication, and a paginated topic feed, then respond to changing conditions.
Run a 30-minute design session for price history and threshold alerts. Define comparable offers, collector trust, durable transitions, and chart resolution.
Design price history and threshold alerts for products collected from merchant pages or feeds.
Design a multi-tenant notification service for transactional alerts and bulk campaigns across email, SMS, and push. Show durable acceptance, frozen audience expansion, fair bounded dispatch, and the lifecycle through a reconciled outcome.
Design a cash-only limit-order system with sequenced market quotes, external venue routing, partial fills, cancels, and a portfolio view. Explain how an account reservation protects buying power while execution events arrive more than once or out of order.
Design collaborative plain-text editing for multiple users with reconnect, a document snapshot, permissions, and ephemeral cursors. Choose a concrete central OT model for single-character insert and delete operations, then explain its limits.
Design collaborative editing for a shared document with low-latency updates, offline clients, reconnect, and durable snapshots.
A payment service must represent uncertainty without creating another charge.
Design a payment-intent service with authorization, capture, refunds, signed processor callbacks, reconciliation, and a balanced ledger. Distinguish processor authorization from captured money and merchant settlement.
A monitoring platform ingests time series, stores recent and historical samples, serves queries, and evaluates alerts.
Five scenario questions with explanations and a visual checkpoint.
Design a multi-tenant monitoring service for 100,000 hosts sampled every 15 seconds, with bounded series cardinality, range queries, downsampling, and one-minute alert evaluation.
Design a rated, low-latency chess service with compatible matchmaking, authoritative legal moves and clocks, reconnectable games, and a separate spectator path.
Design turn-based online chess with authoritative legal moves, clocks, reconnects, and game history.
Design a generic multi-tenant conversational generation service with history, streaming, cancellation, reconnect, bounded context, and fair GPU admission. Do not assume proprietary implementation details.
Design a conversational AI product at the platform level: accepting turns, streaming generated output, managing conversation context, routing inference, and enforcing usage budgets.
Design a limited single-SKU sale for one million arrivals over ten seconds, 10,000 units, a two-unit account cap, and two-minute holds with external payment.
Design Netflix or Prime Video on-demand playback: ingestion, manifests, adaptive bitrate, CDN, rights and recovery.
Design Hotstar or Prime Video live sports: live latency, kickoff traffic, DVR, publisher fencing and multi-CDN recovery.
Design Splitwise expense sharing: exact money splits, balanced ledger, concurrent edits, idempotency and confirmed settlements.
Allocate a compatible space, issue a ticket, calculate a fee and release the space without double allocation.
Manage book copies, fair reservations, loans and returns with one active holder per physical copy.
Support private tasks with editable deadlines and reminders that survive restarts without sending obsolete schedules.
Create expiring text shares with predictable access control, efficient reads and safe deletion.
Accept one eligible vote per person in an event and publish counts without counting request retries twice.
Track store stock changes, sell items and reconcile physical counts without allowing concurrent sales to create negative availability.
Return fast prefix suggestions that combine a stable vocabulary with recent trending queries while controlling abuse and freshness.
Turn a mutable shopping cart into one durable order while protecting inventory, payment identity and price agreement under retries.
Schedule durable background work with priorities, bounded retries, tenant fairness and explicit dead-letter recovery.
Collect structured application logs into searchable storage with bounded agent buffers, explicit loss policy and affordable retention.
Post balanced immutable financial entries, prevent duplicate business postings and recover safely across regional and provider failures.
Build a Kafka-like partitioned replicated log with ordered partitions, producer retry identity, consumer ownership and replay.
Serve globally cached objects while propagating invalidations with a defined freshness objective and observable exceptions.
Maintain a near-real-time searchable index over mutable documents with permission checks, deletion semantics and safe rebuilds.
Serve personalized recommendations to 100 million users through bounded retrieval, ranking and policy stages with measurable fallback behavior.
Evolve a petabyte-scale database while old and new application versions coexist, with resumable backfill and a real rollback boundary.
Evolve a petabyte-scale database while old and new application versions coexist, with resumable backfill and a real rollback boundary.
Recover a complete workload in another region within measured RPO and RTO objectives while preventing split-brain writes.
Recover a complete workload in another region within measured RPO and RTO objectives while preventing split-brain writes.
Serve multiple model versions under tenant cost, token, latency and GPU-memory budgets with bounded admission and streaming recovery semantics.
Deliver each published event independently to every matching durable subscription while isolating slow or failing consumers.
Store large immutable objects with durable metadata, resumable transfer, integrity verification and safe garbage collection.
Serve map tiles, place search and traffic-aware routes while separating geographic data versions from rapidly changing traffic.
Answer support questions from permitted evidence and safely hand off or execute authorized account actions with traceable outcomes.
Ingest and process short videos, deliver a low-latency personalized feed and enforce deletion across recommendations and media caches.
Support text posts, threaded replies, voting and community feeds with predictable moderation and hot-thread behavior.
Five scenario questions with explanations and a visual checkpoint.
Contention occurs when concurrent operations compete over the same mutable fact.
Five scenario questions with explanations and a visual checkpoint.
A business process that crosses databases or external services cannot usually be rolled back like one local transaction.
Five scenario questions with explanations and a visual checkpoint.
Five scenario questions with explanations and a visual checkpoint.
A write path is limited by the slowest sustained stage, not by the length of its queue.
Five scenario questions with explanations and a visual checkpoint.
Large files should not usually pass through application workers that only need to authorize and track them.
Five scenario questions with explanations and a visual checkpoint.
Long tasks outlive ordinary HTTP requests and often outlive the process that started them.
Five scenario questions with explanations and a visual checkpoint.
Resilience patterns protect finite capacity, but their interaction can amplify load when applied independently.
Backpressure makes producers respect downstream capacity; load shedding rejects work that cannot be served within its value or deadline.
Rate limiting controls how much work a caller consumes over time; fair scheduling decides which eligible work runs next.
CQRS separates command-side invariants from read-side projections; a materialized view is derived state optimized for a query.
A saga coordinates business steps across independent transactional boundaries; compensation is a new business action, not a database rollback.
Redis offers in-memory data structures that can make shared counters, caches, rankings, and short-lived coordination convenient.
Search engines organize text and other fields for retrieval rather than ordinary transactional ownership.
Temporal is a workflow platform for durable application processes that must wait, retry, and resume across worker failure.
An API gateway is an edge entry point for routing and selected cross-cutting policies.
Cassandra encourages query-first modeling: design tables around known access patterns and bounded partitions.
DynamoDB is a managed key-value/document database whose efficient access depends on known partition and sort key patterns.
PostgreSQL is useful when relationships, constraints, and transactional state transitions matter.
Flink processes unbounded and bounded event streams with stateful operators, event-time windows, and checkpoint recovery.
ZooKeeper coordinates small amounts of critical shared state using an ordered replicated service and client sessions.
Kafka is a partitioned retained log; RabbitMQ is a routing-oriented broker; SQS/SNS are managed queue and pub/sub primitives.
Redis is an in-memory data-structure server used for caching, counters, coordination hints and streams; its role must be explicit in the source-of-truth model.
Relational, key-value and wide-column databases optimize different query and consistency models; compare them using concrete access patterns.
Kubernetes orchestrates containers through declarative desired state, controllers and a cluster scheduler.
Reverse proxies and service proxies route traffic, manage connections and enforce cross-cutting network policy.
Object storage keeps large immutable or versioned bytes outside the transactional API tier; a CDN caches eligible representations near users.
Advanced topics help when a baseline design hits a specialized data or scale constraint.
Proximity search asks for objects near a point, but the best index depends on whether objects are static businesses or rapidly moving drivers.
A time-series system stores measurements keyed by time and one or more dimensions.
Approximate data structures trade a stated error for lower memory or communication.
Vector retrieval finds items whose embeddings are close under a chosen distance function.
Change data capture (CDC) publishes database changes for downstream projections and event consumers.
Cuckoo filters store compact fingerprints in buckets and support deletion, making them an alternative to Bloom filters for some membership workloads.
HyperLogLog estimates distinct element count with small memory by combining hashed observations into registers.
Count-Min Sketch estimates item frequency using compact counter arrays; collisions make its basic estimates overestimate nonnegative frequencies.
A Merkle tree summarizes data ranges with hashes so replicas can locate divergent portions without transferring every record.
CRDTs and causal metadata help replicas converge under concurrent updates, but the merge rule must preserve product semantics.
Consensus establishes a replicated decision under explicit majority assumptions; gossip disseminates membership and state but is not consensus.
Tail latency dominates user experience when a request waits on many dependencies or fans out to many workers.
Service discovery finds candidate endpoints; failure detectors estimate reachability; distributed locks coordinate ownership. These are distinct responsibilities.
Quantile sketches estimate distribution percentiles using bounded memory; they do not store every sample or make independent percentile values additive.
Distributed transactions coordinate a decision across participants; two-phase commit can block when the coordinator or required participants are unavailable.
Eventually consistent databases use repair mechanisms to converge replicas; repair correctness depends on versioning, tombstone retention and anti-entropy.
Shopify’s account describes replacing Redis reservations with MySQL.
Discord’s account describes moving its message store from Cassandra to ScyllaDB and adding Rust data services.
Slack describes a Redis queue outage caused by backlog and memory pressure.
Figma describes a centralized collaboration design inspired by CRDTs, not operational transformation.
Spotify’s RAP account describes an external index that maps lookup keys to files and row locations in existing Parquet data.
Assign behavior to the object that owns the relevant state.
Protect compound operations, not just individual fields.
Prevent the model from learning information it will not have at serving time.
Build a year-by-year comparison without treating every component as guaranteed cash.
Read the actual instrument, vesting and liquidity terms before using a headline equity value.
Reconcile employer cost, gross pay, variable pay and potential take-home without assuming they are interchangeable.
Compare cash runway, role mandate and uncertain upside separately.
Know your target, private minimum and alternatives before asking for a change.
Use comparable evidence and acknowledge gaps instead of presenting a universal market number.
Keep the conversation aligned with the role while avoiding an uninformed commitment.
Align compensation with responsibilities, expectations and the job you will actually perform.
Combine enthusiasm, evidence and a specific prioritized ask.
Coordinate real timelines and alternatives without bluffing or disclosing unnecessary documents.
Understand the constraint and evaluate alternatives without losing sight of recurring compensation.
Separate a promotion case, pay alignment and a retention decision.
Verify the final package and conditions before making a clear decision.
Practice a calm conversation with a clear ask, accurate evidence and a stopping point.
The recruiter asks for expected CTC before the technical interviews. You know the role is in Bengaluru but have not received the applicable level or fixed/variable breakdown.
You receive a written offer with base 2,400,000, target bonus 240,000 and a one-time signing payment of 200,000 in the same currency. Your priority is recurring base, and your evidence supports requesting 2,550,000.
Preferred offer A has higher role fit but lower recurring base. Written offer B has higher base and expires on Thursday. A has not committed to a revision date.
You interviewed for a role described as cross-team technical direction but receive a Senior offer. The recruiter says a promotion could happen quickly after joining.
A startup offers lower base plus options quoted using a headline grant value. Another offer has higher base and different equity. You do not know the startup exercise price or liquidity terms.
The employer says base is final, offers a larger signing payment and asks for verbal acceptance today. You still lack the repayment conditions and final revised document.