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 241–270 of 1133 results
Design a pipeline that polls a public weather provider for thousands of locations each hour, stores normalized history without duplicates, and serves fresh data reliably.
Model answersystem-designdata-ingestionschedulingrate-limitingTalk through how you would scope, diagnose, mitigate and follow up when a revenue-critical public API suddenly runs near 100% CPU, and justify your choice among rollback, scaling, throttling and queues.
Model answerincident-responsetroubleshootingprofilingcapacityDesign a multi-region key-value database tuned for heavy reads, covering storage engine, sharding, replication, consistency, failure handling, hotspots and capacity planning.
Model answerdistributed-systemskey-value-storereplicationconsistencyDesign a high-level architecture for an event venue reservation platform, focusing on double-booking prevention, concurrency control, and interval-based storage.
Model answersystem-designconcurrencydatabase-designdistributed-systemsDesign an enterprise microservice security blueprint covering mTLS workload identity, dynamic secret management, zero-downtime rotation, and immediate secret compromise containment.
Model answersecuritymtlsvaultsecrets-managementDesign the backend for a workout-tracking app with real-time route sharing to followers, top-workout queries over date ranges, and ranked boards of aggregated user stats.
Model answersystem-designleaderboardsredisstreamingPick the worker count that best minimizes total runtime when compute scales as n/k and combining partial results costs k squared, then justify it with analysis and trade-offs.
Model answerdistributed-systemsscalabilityasymptotic-analysisparallelismArchitect a market-making stack for futures and options with a co-located hot path, microsecond latency targets, hard safety controls, and a remote operations site.
Model answerlow-latencymarket-makingkernel-bypasslock-freePlan how to release a fraud classifier to production, watch it over time, and bring its online p99 latency under 50 ms without giving up much accuracy.
Model answermlopsmodel-deploymentmonitoringlatencyDesign an end-to-end approach for spotting cheaters in a live multiplayer game, deterring them, and applying penalties while handling wrongful bans and restoring player trust.
Model answeranti-cheatfraud-detectiontrust-and-safetystreaming-pipelineArchitect a memory-efficient system to compute exact all-time and probabilistic 24-hour rolling Top-K URLs from high-velocity web request logs.
Model answersystem-designstreamingdata-structurestop-kMaster key SystemVerilog verification concepts including concurrency, constraint solver semantics, assertions, OOP, and hardware verification testbench architectures.
Model answerSystemVerilogUVMHardware VerificationSVADesign a multi-restaurant table booking backend that prevents double-booking, serves fast availability queries, survives peak-hour spikes, and keeps a full audit trail.
Model answersystem-designconcurrencydata-modelingcachingWork out the minimum time to push a 500 GB model checkpoint to 100-1,000 machines with 10 Gbps shared links, then design a chunked peer-to-peer rollout that approaches it.
Model answersystem-designnetworkingpeer-to-peerbandwidthDescribe the full journey of a secure page request, from the browser's first lookups through DNS, connection setup, edge and backend handling, to the final rendering of the page.
Model answernetworkingdnstlshttpArchitect a fault-tolerant, horizontally scalable key-value storage system utilizing consistent hashing, tunable quorums, and automated data rebalancing.
Model answersystem-designconsistent-hashingdistributed-systemsfault-toleranceAnalyze noisy charging logs, define unbiased reliability metrics, formulate root cause logic in SQL, and design a debugging playbook for slow-charging sessions.
Model answersystem-designdata-engineeringroot-cause-analysismetricsArchitect a high-throughput, low-latency leaderboard platform handling tens of millions of active players and millions of concurrent score updates.
Model answersystem-designrediscachingdistributed-systemsDesign a scalable, low-latency API and propagation architecture to block malicious IP addresses and CIDR ranges across distributed edge nodes.
Model answersystem-designcachingnetworkingdistributed-systemsDesign and harden two HTTP tool endpoints that let a hosted conversational agent store a user's reported problem and recite earlier ones, with a local server made reachable.
Model answerfastapillm-toolsapi-designidempotencyDesign a distributed throttle that accepts or rejects alerts using exact 10-minute rolling limits for a user, their team and their company, atomically and correctly across many stateless servers.
Model answerrate-limitingdistributed-systemssliding-windowatomicityDesign an algorithm to find all groups of identical files in a directory tree while handling massive files, edge cases, and analyzing CPU versus disk I/O performance.
Model answerfile-systemhashingio-performanceconcurrencyDesign a scalable, multi-stage document processing architecture to transform complex PDFs into Markdown across synchronous streaming and asynchronous batch workflows.
Model answersystem-designmachine-learningdistributed-systemsstreamingDesign a backend that lets many people edit one document at once with fast sync, offline tolerance, durable storage, and version history.
Model answersystem-designreal-timecrdtoperational-transformationDesign a fault-tolerant orchestration service that runs a refund as a dependency graph of steps, survives worker crashes, avoids double refunds, and handles failure and versioning.
Model answerworkflow-engineidempotencyoutbox-patternsagaDesign a distributed blob storage service with put, get, delete and list, covering metadata, data placement, multipart uploads and the trade-off between replication and erasure coding.
Model answersystem-designdistributed-storageerasure-codingpartitioningDesign a distributed ledger for account-to-account transfers that stays strictly consistent, avoids overdrafts and duplicate charges, and survives crashes at any point.
Model answersystem-designledgeracididempotencyDesign a multi-user file storage backend that handles uploads, downloads and copies, enforces per-user space limits, and transparently compresses data, with durability, security and testing covered.
Model answersystem-designstoragequotascompressionArchitect an in-memory key-value cache backed by persistent disk storage, focusing on crash resilience, append-only logging, compaction, and high-volume value optimizations.
Model answersystem-designcachingstoragedurabilityDesign a scalable and secure backend system for an LLM-powered multi-agent financial assistant with real-time streaming, conversation persistence, and strict compliance controls.
Model answersystem-designllm-architecturestreamingdistributed-systems