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 421–450 of 1136 results
Design 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-modelingcachingDesign a billion-item catalog search service with relevance ranking, filters, accurate facet counts, stable pagination, and second-level freshness for fast-changing price and stock data.
Model answersearchinverted-indexfacetingshardingExplain a team Git workflow, Docker image practices, Python isolation and pinning, and core C++ idioms (RAII, moves, const), with reasons and trade-offs.
Model answergitdockerpythoncppArchitect a scalable, fault-tolerant distributed system to solve large constraint-satisfaction crossword grid fills using parallel search strategies.
Model answersystem-designdistributed-systemsconstraint-satisfactionparallel-computingArchitect a high-performance, cost-effective data retrieval strategy for a live fundraising application using React and Firestore.
Model answerreactfirebasefirestorearchitectureDesign an idempotent, durable DAG workflow execution system for processing order refunds, handling step dependencies, crash recovery, manual reviews, and financial consistency.
Model answersystem-designdistributed-systemsidempotencystate-machinesDesign a system that receives huge volumes of geotagged panoramic photos from a vehicle fleet, stores raw and processed versions durably, and serves location-based tiles quickly.
Model answersystem-designobject-storagegeospatial-indexingresumable-uploadsArchitect a robust Git branching model, asset versioning strategy, and CI integration for software repos dealing with large binary artifacts and automated testing.
Model answergitci-cddevopstestingDesign a distributed service that runs one-off and cron-style tasks at scale with no lost work, safe retries, duplicate-submission protection, and cancellation.
Model answersystem-designdistributed-systemsschedulingfault-toleranceDesign a multi-tenant authorization service that combines scoped role assignments with per-resource grants, covering the data model, evaluation rules, APIs, caching, auditing, and tricky edge cases.
Model answerauthorizationrbacaclcachingDesign a throttling service that caps per-key request volume across a fleet of servers, with low added latency, correct behavior under concurrency, and a clear plan for backend failures.
Model answerrate-limitingredisdistributed-systemsconcurrencyDesign a real-time workspace chat backend with channels, DMs, paginated history, unread tracking, and presence, supporting 5M concurrent connections and channels of up to 50,000+ members.
Model answerwebsocketsfan-outpub-submessage-orderingCompare low-level C abstractions (type erasure, macros, linkages) with C++ resource management model (RAII, smart pointer memory layouts, and weak_ptr lifecycle dynamics).
Model answerccppmemory-managementpointersDesign a horizontally scalable backend that renders millions of placeholder-substitution jobs per hour using queues and worker pools, with fault tolerance, backpressure, and sensible job routing.
Model answerworker-poolproducer-consumermessage-queuebackpressureDesign a durable, fair, and safe asynchronous service that turns text prompts into 10-second clips using slow, expensive GPU inference at roughly ten thousand requests per hour.
Model answerml-system-designgpu-schedulingjob-queuefault-toleranceDesign a low-latency serving stack that groups autocomplete requests into fixed-duration accelerator batches, sizes the fleet, handles failures, and critiques the fixed-time premise.
Model answersystem-designllm-servingbatchingcapacity-planningDesign a platform where teams declare automated tests, trigger or schedule them, run them on shared compute, and query status, logs, artifacts and history reliably at scale.
Model answersystem-designdistributed-systemsschedulingci-cdDesign a high-throughput, multi-tenant AI proxy layer featuring unified OpenAI-compatible routing, token-aware rate limiting, low latency overhead, and PII masking.
Model answersystem-designai-gatewayllm-infrastructurerate-limitingDesign a platform that collects logs from many microservices, keeps them for 30 days, and supports fast searches by service, time window, and text or regex pattern.
Model answersystem-designlog-pipelinekafkaindexingArchitect a scalable, low-latency API platform for serving multi-tenant deep learning workloads (including LLMs) across heterogeneous GPUs under strict latency SLOs.
Model answersystem-designmachine-learninggpu-inferencellm-servingSystematically troubleshoot degraded network throughput across container runtimes, host transport stacks, and physical network paths.
Model answerNetworkingContainersLinuxTroubleshootingArchitect an iOS animation system that emits floating emoji particles on continuous press, focusing on frame rates, layer management, timer accuracy, and unit testability.
Model answeriOSCore AnimationConcurrencyPerformanceDesign a collaborative SQL editor featuring real-time document sync, frozen releases, and async execution tracking with strict input-output lineage.
Model answersystem-designdata-warehousedistributed-systemsconcurrencyDesign an end-to-end personalized restaurant discovery and search service balancing geo-constraints, low-latency ranking, real-time context, and hybrid search architectures.
Model answersystem-designrecommendation-systemsmachine-learningsearchAnalyze the runtime performance overheads of virtual dispatch and heap allocation in C++, and propose high-performance alternatives using static polymorphism and zero-allocation techniques.
Model answerC++Performance OptimizationStatic PolymorphismMemory AllocationArchitect a scalable real-time monitoring system to track the online/offline status of 10 million connected edge devices with low latency and high availability.
Model answersystem-designdistributed-systemsstreamingcachingA strategic framework for launching new AI technologies, measuring developer experience metrics, and navigating competitive benchmarking safely.
Model answerDevRelDeveloper ExperienceTechnical MarketingBenchmarkingCreate your own responsive utility-class grid, an accessible navbar and form, then add robust validation, async submit states, retry rules and telemetry, with no CSS framework.
Model answercssresponsive-designaccessibilityform-validationArchitect a resilient, HIPAA-compliant ETL pipeline capable of ingesting 500 million daily sensitive records with strict partner fault isolation and replayability.
Model answersystem-designetlevent-drivendata-engineeringArchitect a scalable real-time chat service supporting workspaces, channels, direct messaging, persistent history, and message editing with low-latency delivery.
Model answersystem-designdistributed-systemswebsocketsdatabases