Topic
System Design interview problems
Scalable services, storage, caching and trade-offs. 1134 original problems, each with a worked model answer.
43 easy721 medium370 hard
Showing 361–390 of 1134 results
Design an asynchronous RL fine-tuning pipeline that improves a deployed chat LLM from live traffic, covering staleness, KL control, reward hacking, safety gates and cost.
Model answerreinforcement-learningrlhfllm-infrastructureoff-policyDesign a streaming backend that serves order counts, revenue and best-selling dishes over 1-hour, 1-day and 7-day windows at 100K orders/s with data no more than 5 seconds stale.
Model answersystem-designstream-processingkafkaredisArchitect concurrent pod scheduling under capacity limits and design a custom Kubernetes scheduler plugin that uses real-time node telemetry for placement.
Model answerkubernetesdistributed-systemssystem-designschedulingArchitect a real-time chess platform where each game has one authoritative owner, exactly-once move application, server-driven clocks, fast crash recovery, and low-latency spectator streaming.
Model answersystem-designwebsocketsfault-toleranceidempotencyDesign a scalable ML system to analyze code changes, synthesize context, leverage static tools, and post actionable code review feedback.
Model answerLLM OrchestrationDeveloper ToolsSystem DesignStatic AnalysisWalk through confirming a kernel OOM kill, cutting memory use of a cache-heavy service without adding RAM, and reading RSS versus VSZ during an investigation.
Model answerlinuxoom-killercgroupsmemory-managementArchitect a multi-tenant orchestration engine handling high-throughput fast I/O tasks alongside long-running LLM tasks with tenant fairness and tiered state storage.
Model answersystem-designdistributed-systemsqueuesstorage-architectureAnalyze message queues, delivery semantics, push vs. pull models, NoSQL vs. relational databases, and distributed concurrency controls including deadlock resolution.
Model answersystem-designmessage-queuesnosqlconcurrencyArchitect a cloud-based development environment enabling real-time browser code editing, interactive terminal streaming, sandboxed execution, and workspace state persistence at scale.
Model answersystem-designcloud-idesandboxingwebsocketsDesign a scalable retail brokerage order management system handling limit/market orders, cancellations, concurrency-safe account balances, and edge cases like lost/duplicate fill reports.
Model answersystem-designdistributed-systemsconcurrencyfintechBuild a 2x3 React grid component for display feeds, integrate data loading with proper state management, and explain React hook mechanics.
Model answerreactfrontendcss-gridhooksArchitect a low-latency ingestion and spatial indexing system for tracking real-time vehicle locations and serving proximity queries at high scale.
Model answersystem-designgeospatialin-memory-databasestream-processingDesign a multi-tenant web tool where teams author prompts, run them on external LLMs with streamed output, version and compare results, and track cost, latency, and safety.
Model answersystem-designstreamingmulti-tenancyidempotencyArchitect a low-latency prefix typeahead and full-catalog product search system capable of handling high traffic spikes and near real-time inventory updates.
Model answersystem-designautocompletesearchtrieDesign an ingestion and processing pipeline for JSON user profiles, comparing batch file arrivals against a real-time event streaming paradigm.
Model answersystem designbatch processingevent streamingetlDesign a service that lets users find images from free-text descriptions, handling batch ingestion, joint embeddings, permission filtering, ranking, evaluation, updates, and deletions.
Model answerml-system-designmultimodal-embeddingsvector-searchrerankingDesign a distributed build caching system for CI/CD pipelines, covering cache key generation, concurrent upload coordination, and tiered storage architecture.
Model answersystem-designcachingdistributed-systemsobject-storageAnalyze why df and du report different disk space utilization on Linux systems and walk through a step-by-step troubleshooting process.
Model answerlinuxoperating-systemsstoragesreArchitect a scalable telemetry storage and indexing platform to capture, store, and query petabytes of high-throughput sensor logs efficiently.
Model answersystem-designdistributed-systemsindexingstorage-tieringAnswer four fundamentals questions: enum and struct behavior in C++, macros versus inline functions, GPU matrix-add kernel design, and optimizing uniform or repeated read-only values.
Model answercppgpucudamemory-coalescingDesign a distributed service that safely runs untrusted submissions against hidden tests, returns verdicts reliably, and stays responsive during contest traffic bursts.
Model answersystem-designsandboxingmessage-queuescalabilityDesign the session and application messages between an in-house order management system and an external venue, covering dedupe, sequencing, replay and recovery after disconnects.
Model answersystem-designmessaging-protocolsidempotencyfix-protocolDesign a durable service that runs tasks right away or at a future time, and explain how it copes with crashes, retries, duplicates, and the limits of exactly-once execution.
Model answersystem-designjob-schedulerreliabilityretriesDesign a high-throughput, distributed web crawling system that manages per-domain rate limits, prevents duplicate fetches, and handles network resilience at scale.
Model answersystem-designdistributed-systemsconcurrencyqueuesPick the one false statement among four claims about HTTP status code families, then explain the client-versus-server split and why it matters for retries, alerting, and API design.
Model answerhttpstatus-codesweb-protocolsapi-designDesign a real-time perception and decision pipeline that keeps a mobile warehouse robot from hitting workers, covering fusion, a 50 ms latency budget, stop-versus-slow logic, and sensor failures.
Model answerroboticssensor-fusionreal-time-systemssafety-criticalDesign an automated container packing platform that optimizes cargo placement under weight, volume, and hazmat rules, supporting async runs, plan overrides, and strict determinism.
Model answersystem-designdistributed-systemsoptimizationconstraint-programmingArchitect a low-latency, real-time shared task list supporting concurrent edits, item reordering, explicit synchronous durability, and reconnection recovery.
Model answersystem-designwebsocketsreal-timeconcurrencyDemonstrate how to safely and completely clear containers, images, volumes, custom networks, and build caches from a Docker daemon environment.
Model answerdockerdevopslinuxcliDesign a multi-warehouse e-commerce inventory system handling flash sales without overselling, focusing on high availability, concurrency control, and idempotency.
Model answersystem-designconcurrencydistributed-systemscaching