Topic
System Design interview problems
Scalable services, storage, caching and trade-offs. 1133 original problems, each with a worked model answer.
43 easy720 medium370 hard
Showing 211–240 of 1133 results
Walk through an end-to-end incident response plan for high cache misses and service latency, covering triage, observability, hypothesis testing, mitigations, and post-incident RCA.
Model answercachingincident-responsedistributed-systemsobservabilityArchitect an in-house email/password signup and login system emphasizing secure password storage, API contract design, session state management, and edge-case handling.
Model answerauthenticationsecurityapi-designdatabase-designDesign a SaaS learning platform where organizations run separate course catalogs, learners buy access via an external payment provider, and prerequisite rules gate enrollment.
Model answersystem-designmulti-tenancypaymentsidempotencyArchitect two scalable backend platforms: a low-latency, geo-partitioned ride-hailing system and an asynchronous, queue-decoupled price tracking and notification pipeline.
Model answersystem-designdistributed-systemsgeospatialevent-drivenOpen-ended round: describe a significant system you personally owned, then justify its design, technology choices and hardest problems while an interviewer questions each decision.
Model answerproject-deep-divearchitecturetrade-offsownershipAnalyze a short-video platform as a four-sided marketplace of viewers, creators, advertisers and merchants, then propose and defend a 12-month strategy with metrics and trade-offs.
Model answerproduct-strategyplatform-ecosystemmarketplacemetricsDesign a middleware that packs prompt, history, retrieved passages and tool results into a 32k-token window with prioritization, citations, injection isolation and fallbacks.
Model answerllmragcontext-windowprompt-injectionAnalyze Python runtime behaviors including mutable defaults, generator execution and cleanup, GIL-bound concurrency choices, and custom context manager protocols.
Model answerpythonconcurrencymemory-managementruntime-mechanicsDesign a backend for a personal task manager serving millions, covering API contracts and versioning, tenant isolation, per-user throttling, caching, and data partitioning.
Model answersystem-designrest-apirate-limitingcachingDesign a REST API and database schema for booking a stay or rental, compare per-day and interval inventory models, and support extending an existing reservation.
Model answerrest-apischema-designinventory-modelingconcurrencyDesign a feature flag service enabling dynamic percentage rollouts, user targeted overrides, and ultra-low latency evaluation across distributed microservices.
Model answersystem-designdistributed-systemscachingfeature-flagsJustify a database architecture by linking relational schema choices, targeted index designs, CAP theorem partition behaviors, and concurrency strategies to specific system access patterns.
Model answerdatabase-designconcurrencyindexingtransactionsDesign a pipeline that records ad clicks at extreme scale, drops repeat clicks within 30 seconds, serves windowed counts per ad, and never loses billable data.
Model answersystem-designstreamingkafkadeduplicationPlan a layered cloud network for 2,000 servers with IP sizing, unified Linux and Windows operations, shared file storage, and single sign-on across services.
Model answervpcnetworkingcidr-planningsystems-managementDesign a system that versions LLM prompts, models, retrieval and decoding settings, rolls changes out gradually, traces every request to its exact config, and rolls back instantly.
Model answerllm-opsragconfig-managementcanary-rolloutDesign a distributed container execution system featuring resource-constrained scheduling, job lifecycle management, self-fencing node agents, and scalable metric ingestion.
Model answersystem-designkubernetesdistributed-systemsmetricsDesign a distributed service that caps each user's request volume per rolling minute across many app servers, rejecting excess calls with HTTP 429 while staying fast and available.
Model answerrate-limitingdistributed-systemsredissliding-windowModel a high-volume user event stream in a relational warehouse so engagement metrics are cheap to compute, handling duplicates, late data, backfills and incremental rollups.
Model answerdata-modelingpartitioningevent-analyticslate-arriving-dataDesign a backend that accepts text prompts, renders short AI-generated videos on a pool of expensive GPUs, and survives bursts, worker crashes, and uneven hardware.
Model answerasync-jobsgpu-schedulingjob-queueautoscalingArchitect an enterprise marketing dispatch platform supporting timezone-aware scheduling, template rendering, deduplication, fault-tolerant ESP dispatch, and tracking.
Model answersystem-designdistributed-systemsevent-drivenmessagingDesign an async service that merges four backend calls into one app-startup response, aborting on a critical failure and degrading gracefully on optional ones, within a fixed latency budget.
Model answerasyncresiliencetimeoutsapi-aggregationDesign a scalable, fault-tolerant job scheduler that manages delayed execution, recurring tasks, worker leasing, and failure recovery with at-least-once delivery.
Model answersystem-designdistributed-systemsqueuestask-schedulerDecide between threads, processes, or a hybrid for a CPU-bound image preprocessing service, weighing memory, GIL limits, IPC cost, crash isolation and how to benchmark.
Model answerconcurrencythreads-vs-processesshared-memorygilDesign a booking backend for hot live events that never double-sells a seat, holds seats briefly during checkout, guarantees tickets after successful payment, and fairly offers released seats to a waitlist.
Model answersystem-designconcurrencydistributed-systemspaymentsDesign a backend that lets a retailer rate, buy labels, and track parcels across multiple couriers behind a single internal API, with safe retries and fault isolation.
Model answersystem-designapi-designidempotencythird-party-integrationDesign a scalable architecture for validating hardware telemetry, enforcing schema contracts, and orchestrating automated rollout/rollback decisions based on fleet health metrics.
Model answersystem-designtelemetrystreamingrelease-engineeringDesign a rate-aware ingestion engine and fault-tolerant checkpointing architecture for massive LLM DAG workflows facing strict provider quotas and ambiguous request failures.
Model answersystem-designdistributed-systemsfault-tolerancerate-limitingExplain a production service you own end to end, then defend its data flow, storage, failure handling and trade-offs as an interviewer probes the weakest points.
Model answersystem-designtechnical-deep-divearchitecturetrade-offsFind the cause of a production failure using only SSH and huge log files, then design a centralized logging platform and justify the storage and cost trade-offs.
Model answerloggingobservabilityincident-responselinux-cliExplain how OS processes and threads differ in isolation, scheduling, switching cost, communication, failure and security, and justify which to choose for real production services.
Model answeroperating-systemsconcurrencyprocessesthreads