Topic
System Design interview problems
Scalable services, storage, caching and trade-offs. 1136 original problems, each with a worked model answer.
43 easy723 medium370 hard
Showing 451–480 of 1136 results
Architect a scalable, personalized news feed system that handles hybrid fanout, multi-stage recommendation pipelines, stable cursor pagination, and instant post soft-deletions.
Model answersystem designfeed designrecommendation systemcachingDesign a thread-safe, concurrent organization tree supporting high-volume reads and atomic modifications without deadlocks or partial updates.
Model answersystem-designconcurrencylock-freedata-structuresDesign the storage engine of a single-node persistent key-value store covering indexing, large values, thread-safe access and cheap durability for acknowledged writes.
Model answerstorage-enginelsm-treewrite-ahead-logconcurrencyArchitect a reliable, serialized command dispatch system for Bluetooth Low Energy peripherals with response matching, timeout management, and fault tolerance.
Model answersystem-designiosbluetoothconcurrencyEvaluate methods for providing third-party API tokens to Kubernetes workloads, focusing on credential lifecycle, secret rotation, and workload identity.
Model answerkubernetessecuritycloud-nativeiamExplain how GCC and a Clang/LLVM toolchain turn C++ into machine code, how optimizers exploit undefined behavior, and how to fairly investigate differences in generated code.
Model answercompilersc++llvmundefined-behaviorDesign a text sharing system that accepts raw text or code snippets and generates short, durable URLs with customizable TTLs under high read concurrency.
Model answersystem-designdistributed-systemsapi-designdatabase-designDesign an in-process, lock-free engine that tracks the best bid and ask across up to 16 venues for 10,000 instruments and flags crossed markets within microseconds.
Model answerlow-latencylock-freespsc-ring-buffermarket-dataOutline a structured troubleshooting approach for diagnosing and resolving broken Kubernetes pods, detailing state transitions, kubectl commands, diagnostic paths, and mitigation techniques.
Model answerkubernetesdevopstroubleshootingsystem-designContrast TCP and UDP on connection handling, reliability, ordering, flow and congestion control, framing and overhead, then match each to workloads where its guarantees fit.
Model answernetworkingtcpudptransport-layerDebug an unfamiliar Node.js vehicle-booking backend where one user's list exposes others' vehicles, new vehicles are missing, and edits revert after refresh.
Model answerdebuggingnodejsaccess-controlpersistenceSketch five independent large-scale backends in one time-boxed session: event callbacks, nearby-place search, team messaging, a CI/CD engine, and payment processing.
Model answersystem-designwebhooksgeospatial-indexchatDesign a 24/7 virtual-care intake system that routes waiting patients to clinicians licensed in the patient's current state, with safe concurrent claiming, auditing and compliance.
Model answersystem-designqueueingconcurrencypostgresDesign a low-latency chat service for two-party conversations where each user has several devices, covering delivery state, push fallback, retry-safe sends and stable history paging.
Model answersystem-designmessagingwebsocketsidempotencyArchitect an experimentation engine balancing sync/async validation, strict latency budgets, and experiment health monitoring.
Model answersystem-designab-testinglatencydistributed-systemsDesign a streaming platform that turns raw website click events into fresh, correct, queryable aggregates, covering partitioning, windows, state, sinks, back-pressure and failures.
Model answerkafkaflinkstream-processingexactly-onceDesign a distributed web crawler and storage architecture that guarantees every page in a target wiki is updated at least once every five days.
Model answersystem-designdistributed-systemsweb-crawlerstorageDesign a platform that takes events from internal services and delivers them to users through push, SMS, email and an in-app inbox, with retries, deduplication and celebrity-scale fanout.
Model answersystem-designnotificationskafkafanoutDesign a scalable event ticketing backend that supports high-throughput browsing and guarantees strong consistency during high-contention seat reservation and payment flows.
Model answersystem-designconcurrencydistributed-systemstransactionsArchitect an enterprise workspace ranking engine that evaluates hard constraints, minimizes space fragmentation, ensures inter-team fairness, and balances user preferences with learned scoring models.
Model answersystem-designranking-systemsrecommendation-systemsdistributed-systemsDerive the fundamental physical time limits for distributing a 2 TB file to up to 2,000 servers over 25 Gbps links, then design a peer-assisted distribution protocol to match it.
Model answersystem-designdistributed-systemspeer-to-peernetworkingDesign a scalable, HIPAA-compliant system for uploading, transcribing, and retaining audio consults using asynchronous workflows and strict security controls.
Model answersystem-designsecurityasynchronous-processingcompliancePlan a no-downtime move of a busy 2TB SQL Server database to PostgreSQL, covering sync, type mapping, verification, cutover and rollback, with a read-only vendor client you cannot change.
Model answerdatabase-migrationcdczero-downtimepostgresqlTransform a prototype game engine script into a production-grade software library and stateful HTTP microservice with clean architecture and robust edge-case handling.
Model answersoftware-engineeringapi-designrefactoringarchitectureDesign a distributed compute platform for image processing using GPU workers, implementing dynamic weighted fair-queueing by compute time and resilient lease-based task execution.
Model answersystem-designdistributed-systemsschedulingfairness-queueingDesign how creators upload and release audio episodes, and how each subscriber sees new releases from followed shows, including shows with millions of subscribers.
Model answersystem-designfeed-generationfan-outtransactional-outboxDesign a messaging backend for 1:1 and group conversations with near-real-time delivery, exact unread counts, durable history, offline sync, and clear ordering guarantees at large scale.
Model answersystem-designchatwebsocketfan-outDesign a backend architecture to capture, aggregate, and display diner reviews and media ratings at high volume with low read latencies.
Model answersystem-designdatabase-designcachingpaginationDesign an architecture to identify top-k elements in high-throughput streams over rolling windows, covering data structures, exact vs. approximate models, and sharding.
Model answersystem-designstreamingdata-structurescachingOutline how you would advise a customer whose cloud data platform produces untrustworthy data and runs slowly or expensively: scoping, metrics, diagnosis, fixes, and architecture concepts.
Model answerdata-qualitypipeline-performancelakehousesolutions-architect