Topic
System Design interview problems
Scalable services, storage, caching and trade-offs. 1130 original problems, each with a worked model answer.
43 easy719 medium368 hard
Showing 1081–1110 of 1130 results
Design and implement a crash-resistant orchestrator that coordinates a refund across three HTTP services with idempotency, persistence, and retry logic.
Model answerdistributed-systemsidempotencystate-machinehttpArchitect a scalable video platform supporting chunked uploads, distributed transcoding into adaptive bitrate formats, moderation workflows, and CDN-backed delivery.
Model answervideo-streamingdistributed-systemscdnscalabilityDesign a scalable streaming pipeline that computes country-level song popularity rankings from millions of play events with 10-minute refresh cycles.
Model answerstreamingdata-pipelineaggregationscalabilityDesign a payment platform that prevents duplicate charges through idempotency, handles gateway timeouts safely, and maintains financial correctness.
Model answerdistributed-systemspaymentsidempotencyconcurrencyDesign a scalable system for merchants to update product catalogs individually or in bulk, with image validation and CDN delivery.
Model answerdistributed-systemsasync-processingconcurrencyscalabilityDesign a counting service that supports millions of concurrent engagement actions with eventual consistency and sub-50ms read latency.
Model answerdistributed-systemseventual-consistencyhigh-throughputcachingDesign an endpoint that replicates a multi-level data hierarchy with automatic identifier reassignment, progress tracking, and fault tolerance.
Model answerbackground-jobsdatabasesapi-designDesign a fast, thread-safe in-memory cache with automatic expiration and crash recovery capabilities.
Model answercachingconcurrencydistributed-systemsDesign a payment service that safely retries failed transactions without double-charging customers, handling scale of ~10,000 transactions per second.
Model answersystem designpaymentsidempotencydistributed systemsDesign a system to identify and handle outdated job listings through signal aggregation, graduated enforcement, and employer dispute resolution.
Model answerdistributed-systemsevent-processingstate-machinesreal-time-systemsDesign a ticket booking system that handles millions of simultaneous users competing for limited inventory while preventing double-bookings and race conditions.
Model answerhigh-concurrencyinventory-managementdistributed-systemscachingBuild a backend and client sync strategy for a collaborative visual editor where many users edit shapes and objects simultaneously on a shared canvas.
Model answerreal-timecollaborationdistributed-systemsconcurrencyDesign an API that streams LLM responses, starting simple and adding reliability, overload protection, and conversation state.
Model answerstreamingllmavailabilitybackpressureDesign a distributed system that ingests millions of ad clicks per second, eliminates duplicate events, and provides accurate near-real-time counts.
Model answerdistributed-systemsstreamingdeduplicationhigh-throughputDesign a fast file distribution system to deliver a 100 GB checkpoint from one origin to 1,000 workers, minimizing total transfer time.
Model answerdistributed-systemsnetworkingfile-distributionperformanceDesign a multi-tenant platform that accepts ML training job submissions, schedules them fairly across a heterogeneous GPU fleet, and handles failures gracefully.
Model answergpuschedulingdistributed-systemsfairnessAnalyze a basic web application topology and recommend architectural improvements for scalability, reliability, and fault tolerance.
Model answerarchitecturescalabilityreliabilityfault-toleranceBuild a scalable service handling product information, pricing logic, and stock management with high read throughput and strong checkout consistency.
Model answere-commercedistributed-systemscachingdatabase-designBuild a service aggregating product offers from 30+ external APIs, balancing freshness, latency, and quota limits through hybrid caching.
Model answercachingapi-designdistributed-systemsrate-limitingDesign a large-scale video platform supporting catalog browsing, adaptive-bitrate playback across devices, cross-device resume, and content ingestion.
Model answerstreamingvideocdntranscodingDesign a platform that ingests, stores, and queries millions of tagged metric streams per second with tiered retention, cardinality guardrails, and sub-second alerting.
Model answertime-seriesmetricscardinalitystorageDesign a scalable backend for an online retail platform that handles concurrent purchases, prevents overselling, and serves millions of browsing users.
Model answerscalabilitydistributed-systemsdatabasesconsistencyDesign an in-memory library that manages documents and tags, supports multi-tag intersection queries, and handles concurrent reads and writes safely.
Model answerconcurrencyindexingapi-designDesign a complete continuous integration and delivery platform for a large monorepo, with emphasis on the job scheduler that coordinates pipeline execution.
Model answerci-cddistributed-systemsschedulinginfrastructureDesign a low-latency authorization framework and tamper-proof audit logging infrastructure for a high-throughput financial application.
Model answerauthorizationaudit-loggingdistributed-systemssecurityDesign an enterprise-grade deduplication storage service handling petabyte-scale data with content-addressed chunking, distributed indexing, and safe garbage collection.
Model answerdistributed-systemsstoragescalabilitydata-integrityArchitect a scalable system for storing, synchronizing, and sharing files across devices with versioning, conflict resolution, and offline support.
Model answerdistributed-systemsstoragesyncconsistencyBuild a seat reservation backend with strict consistency and a live vote counter handling millions of writes per second with eventual consistency.
Model answerconcurrencydistributed-systemsstreamingdatabasesDesign a CI backend that ingests code events, executes dependency-ordered job graphs on worker fleets, and streams live build logs to developers.
Model answerdistributed-systemsstreamingschedulingDesign a backend payment service that collects money via a third-party payment provider, guarantees exactly-once charging, and maintains an auditable money ledger.
Model answerpaymentsidempotencydistributed-systems