Topic
System Design interview problems
Scalable services, storage, caching and trade-offs. 1135 original problems, each with a worked model answer.
43 easy722 medium370 hard
Showing 391–420 of 1135 results
Design a multi-warehouse e-commerce inventory system handling flash sales without overselling, focusing on high availability, concurrency control, and idempotency.
Model answersystem-designconcurrencydistributed-systemscachingDesign an IoT telemetry platform ingesting half a million sensor readings per second, featuring low-latency current state queries, delayed data processing, and downsampled long-term storage.
Model answersystem-designiottime-seriesstreamingDesign a multi-region metadata engine processing 50k peak QPS under 100 ms p95 latency, complete with capacity sizing, queueing performance modeling, and resiliency patterns.
Model answersystem-designdistributed-systemsmulti-regioncapacity-planningDesign a card-network transaction switch that routes authorizations to unreliable issuer banks, prevents duplicate charges, keeps an auditable ledger, and keeps card data tokenized.
Model answerpaymentsidempotencydistributed-transactionssagaDesign a platform that finds re-uploaded or lightly edited photos and videos across billions of items, covering fingerprinting, indexing, match thresholds, evaluation and abuse resistance.
Model answernear-duplicate-detectionperceptual-hashingembeddingsann-searchDesign a service that hands out short-lived, unguessable receive-only email addresses, ingests mail at scale, and exposes it through a web UI and API before wiping it.
Model answersystem-designsmtpttlrate-limitingA guide to designing a multi-tier testing strategy, mathematical runtime invariants, and safe deployment pipelines for mission-critical spatial planning services.
Model answersystem-designtestingreliabilitydistributed-systemsReview a small Python and SQL ticket-booking service by reading only, and write at least ten fix-oriented comments across security, concurrency, schema, reliability and maintainability.
Model answercode-reviewsql-injectiontransactionsrace-conditionsDesign a metrics pipeline and console for a multi-tenant LLM chatbot that ingests about 5k events/s and supports sliceable, low-latency queries with 30-day detail and 1-year rollups.
Model answerobservabilityolapkafkatime-seriesDesign a scalable graph database schema for user-resource authorization (ReBAC) and plan a zero-downtime migration strategy from a legacy relational system.
Model answersystem-designauthorizationgraph-databasemigrationDesign a scalable messaging backend for a consumer mobile app that delivers push and in-app messages, honors user preferences, and stays reliable and legally compliant across regions.
Model answersystem-designnotificationskafkaidempotencyArchitect a high-performance system to handle user video likes, user engagement tracking, and extreme traffic bursts on viral content.
Model answersystem-designdistributed-systemscachingdata-pipelinesDesign the path from a monorepo push to software running on customer vehicles, then explain how the build system chooses and orders the targets to build and test.
Model answerci-cdota-updatesmonorepobuild-systemsDesign a scalable multimodal machine learning system to detect and block illegal weapon ads under strict latency and high recall requirements.
Model answersystem designmachine learningcontent moderationmultimodalAnswer a three-part operating systems and concurrency question covering Coffman conditions, false sharing, spinlock hazards, and kernel-mode transitions.
Model answerconcurrencyoperating-systemscachingmemory-managementWrite a robust Bash function that counts regular files across a directory tree, handling embedded newlines, spaces, leading hyphens, and traversal constraints safely.
Model answerbashlinuxshell-scriptingposixDetailed product and technical design frameworks for international cross-border expansion, real-time promise engine architectures, and IoT hardware strategy.
Model answerproduct designe-commercesystem designsupply chainArchitect a scalable background task scheduling engine and high-throughput query service for inspecting upcoming jobs across flexible dynamic time windows.
Model answersystem-designdistributed-systemsdatabase-designpartitioningA multi-part fundamentals question covering lazy vs eager iteration, a multi-argument cache decorator, B+ tree index trade-offs, process vs thread, and testing idempotent retries.
Model answerpythongeneratorsmemoizationb-tree-indexArchitect a GPU reduction pipeline that guarantees bitwise-reproducible floating-point outputs by eliminating non-deterministic thread block contention.
Model answercudaparallel-programmingfloating-pointgpuDesign a robust, distributed infrastructure to distribute, version, and activate multi-gigabyte machine learning model weights across thousands of regional GPU inference instances safely.
Model answermachine-learningsystem-designdistributed-systemscachingDesign a pipeline that accepts large seller photos by direct upload, processes and moderates them asynchronously, and serves only approved variants worldwide with safe concurrent edits.
Model answersystem-designasync-processingobject-storageidempotencyDesign the object model and system for free-text notes on a reservation, with owner and admin edit rights, change auditing, and a safe path for bulk admin updates.
Model answerobject-oriented-designaccess-controlaudit-logbatch-processingDesign a scalable, resilient distributed in-memory cache shared by backend services, covering memory management, partitioning, failover, and database protection.
Model answersystem-designdistributed-systemscachingconsistent-hashingArchitect an online scoring service that labels each card payment as approve, flag or block within 50 ms, handles 10k+ RPS and spikes, and ships new models with no downtime.
Model answerml-system-designlow-latencyfeature-storemodel-servingArchitect a reliable queue consumer system featuring exponential backoff retries, dead-letter queues, idempotent execution, and crash recovery mechanisms.
Model answersystem-designdistributed-systemsqueuesfault-toleranceArchitect an end-to-end vector storage and retrieval engine for processing user documents, images, and videos, supporting multi-modal search under low-latency constraints.
Model answersystem-designmachine-learningvector-searchmultimodalWalk through how you would triage, diagnose, mitigate, and follow up on a memory alert in a service that funds couriers' payment cards via a third-party provider and a Redis cache.
Model answerincident-responseobservabilitydebuggingredisDesign and implement a robust, extensible evaluation harness for local LLM endpoints with metrics, concurrency control, and fault tolerance.
Model answersystem designmachine learningpythonasyncioDesign a backend for posting, claiming, and locking restaurant work shifts that prevents double-claims and overlapping assignments while serving a heavily read schedule view.
Model answersystem-designconcurrencydata-modelingcaching