Topic
System Design interview problems
Scalable services, storage, caching and trade-offs. 1132 original problems, each with a worked model answer.
43 easy720 medium369 hard
Showing 151–180 of 1132 results
Design a multi-channel alert delivery platform that survives spikes of roughly one million writes per second, with a justified storage engine and protection against duplicate sends.
Model answersystem-designmessage-queuecassandraidempotencyDesign an accurate, idempotent, and highly concurrent banking ledger database schema and transaction pipeline.
Model answersystem-designdatabase-designconcurrencyfinancial-systemsDesign an in-memory music player engine in Go supporting playlists, deduplication, list merging, playback operations, and safe concurrent access.
Model answersystem designgoconcurrencydata structuresDesign a backend for private two-person chats that stores messages durably, keeps them in order, tolerates retries, replays to offline devices, and restricts access to participants.
Model answersystem-designmessagingwebsocketidempotencyDesign a paginated transaction-history API over a PostgreSQL table with billions of rows, staying fast on deep pages and correct while new rows keep arriving.
Model answerpaginationkeyset-paginationpostgresqlindexingDesign an autocompletion engine using a custom in-memory trie, cover node memory optimizations and hot swaps, and scale out horizontally without adding third-party clusters.
Model answersystem-designtriecachingscalingDesign a backend that takes a card payment from checkout through an external processor to a recorded, reconcilable transaction, with no double charges and no lost successes.
Model answerpaymentsidempotencyledgerreconciliationDesign a low-latency service that decides whether an ad may be shown to a user, enforcing "at most N impressions in the last W" caps across ad, group and campaign scopes.
Model answersystem-designrate-limitingsliding-windowdistributed-systemsDesign fact and dimension tables for a marketplace to serve five business metrics, covering grain, keys, partitioning, late data, deduplication, anonymous users and changing seller attributes.
Model answerdata-warehousedimensional-modelingstar-schemascdDesign a platform where agent-building teams can test a new prompt or model against a baseline and see the effect on answer quality, tool usage, latency and cost before shipping.
Model answerml-system-designllm-evaluationagentsllm-as-judgeDesign a bike rental backend where riders see nearby bikes live, hold one, unlock it, and end the trip, covering telemetry ingestion, geospatial lookup and race-free reservations.
Model answersystem-designgeospatialconcurrencyiotDesign a service that moves customer funds through external bank rails without double-charging, tracks each transfer's lifecycle, and repairs mismatches using daily bank settlement files.
Model answeridempotencypaymentsstate-machinereconciliationDesign the backend between a web UI and a pool of meeting-joining bots that safely assigns bots, tracks session state, and recovers from failures at 100K concurrent sessions.
Model answersystem-designqueuesleasesidempotencyDesign a low-latency engine that recommends eligible, available freelancers for client jobs, handles newcomers with no track record, and learns from downstream hiring outcomes.
Model answersystem-designrecommendationrankingcold-startDesign a login and session service for web and API clients using email and password, extensible to federated identity, with strong credential handling, abuse defenses, and a plan for 10x growth.
Model answerauthenticationsessionssecurityscalabilityUnderstand the core mechanics of database transactions, the ACID guarantees, ANSI isolation levels, concurrency anomalies, and underlying MVCC implementation details.
Model answerdatabasesacidconcurrencytransactionsRedesign the product strategy for a venue-based internet service offering limited free access followed by paid tiers to increase revenue and passenger satisfaction.
Model answerproduct-designpricing-strategyfunnel-optimizationuser-experienceDesign a backend that streams model-generated tokens to many concurrent users, covering the API, GPU inference fleet, KV-cache memory management, autoscaling and multi-turn session state.
Model answerllm-servingkv-cachecontinuous-batchingstreamingDesign an update downloader that fetches a large versioned release in parallel byte ranges, resumes after crashes without redoing verified work, and publishes only a fully verified result.
Model answersystem-designresumable-downloadsbyte-rangeintegrity-verificationDesign an end-to-end knowledge pipeline for a voice assistant answering holiday and animal questions, fix mis-routed queries, and build a framework for debugging failures.
Model answerdata-pipelineknowledge-graphentity-linkingintent-classificationDesign a backend for networked parcel cubbies in three sizes, preventing double booking of the last cubby and staying consistent when kiosks lose connectivity.
Model answersystem-designconcurrencyreservationsidempotencyA guide on investigating and resolving a sudden 15x latency spike on a critical path service in a Kubernetes environment.
Model answerincident-responsesreobservabilitykubernetesDesign a ticketing platform that survives a sudden surge when sales open, holds seats during checkout, and guarantees no ticket is ever sold to two buyers.
Model answersystem-designconcurrencyrate-limitinginventoryDesign a backend that follows perishable stock across warehouses and trucks, answers nearest-and-soonest-expiring queries, prevents overselling, and raises expiry warnings.
Model answersystem-designgeospatialstreaminginventoryDesign a large-scale MapReduce batch execution platform covering task scheduling, shuffle optimization, data skew mitigation, fault recovery, and commit semantics.
Model answersystem-designdistributed-systemsmapreducedata-engineeringExplain how Spring Boot relates to the core Spring Framework, covering configuration, auto-configuration, servers, dependencies, startup and when to pick each.
Model answerjavaspringspring-bootauto-configurationAnswer four fundamentals questions: relational vs NoSQL storage, VMs vs containers, what Kubernetes adds beyond Docker, and why Python lags C++ and how to close the gap.
Model answerdatabasesdockerkubernetespython-performanceDesign a scalable pipeline that ingests a high volume of search events and serves low-latency Top-K rankings, both all-time and over recent sliding windows, across multiple regions.
Model answersystem-designtop-kstreamingcount-min-sketchArchitect an in-process, multi-threaded logging framework with non-blocking record hand-off, dynamic log filtering, pluggable formatters, and resilient appender management.
Model answerobject-oriented-designconcurrencylow-level-designthread-safetyDesign an LLM-driven agent that triages tickets, gathers operational evidence, proposes a root cause and fix, and acts only within strict human-approval and safety boundaries.
Model answerllm-agentsml-system-designincident-responseretrieval