Topic
System Design interview problems
Scalable services, storage, caching and trade-offs. 1132 original problems, each with a worked model answer.
43 easy720 medium369 hard
Showing 1021–1050 of 1132 results
Design a message queue where each message carries multiple topic tags and consumers receive only messages whose tags overlap their subscription set.
Model answermessage-queuepub-subbitmasksystem-designDesign a new feature for enterprise teams managing large fleets of edge devices, covering target user, core problem, MVP scope, metrics, and risks.
Model answerproduct designIoTedge computingenterpriseDesign a system that enables users to transfer funds between accounts with correct balances, handling failures, retries, and concurrent operations.
Model answerfinancial-systemsdistributed-systemstransactionsidempotencyDesign a search system that indexes post content, handles include/exclude queries, and ranks matches by term frequency across distributed infrastructure.
Model answerindexingdistributed-systemssearchrankingBuild a scalable service that tracks prices across e-commerce sites, stores historical data, and notifies users when prices drop below their thresholds.
Model answerdistributed-systemstime-seriesnotificationsdata-pipelinesDesign a messaging backend that sustains 1M concurrent connections and 50K messages per second with sub-100ms end-to-end latency.
Model answermessagingkafkawebsocketscassandraBuild the issuer backend that decides approve/decline for card transactions in under 200ms, handles settlement flows, and securely isolates sensitive cardholder information.
Model answerpaymentslow-latencysecuritydata-architectureDesign a system to efficiently query total subordinate counts in a corporate hierarchy while handling organizational structure changes.
Model answertreescachingdistributed-systemsdata-modelingDesign a scheduler that runs jobs after a specified delay, with APIs, data structures, persistence, concurrency control, and recovery.
Model answerlow-level-designschedulingconcurrencydurabilityDesign a production-grade REST API for serving machine learning predictions on images, covering endpoints, schemas, auth, reliability, and safety.
Model answerapi-designmachine-learningrestauthenticationDesign a production gateway that receives streaming LLM requests, batches them efficiently, routes to GPU backends, and handles autoscaling under bursty traffic.
Model answersystem designLLM servinginferencebatchingRepair a broken Spring Boot search endpoint so it handles partial case-insensitive matching, field targeting, popularity ordering, and a published-only filter.
Model answerspring-bootdebuggingjpasearchBuild a messaging platform where messages automatically vanish after being read, supporting multiple devices, offline scenarios, and abuse prevention.
Model answermessagingdistributed-systemsreal-timesecurityDesign a distributed pipeline that deduplicates high-volume event streams, reconciles them against a delayed authoritative source, and produces auditable daily aggregates.
Model answerstreamingidempotencydeduplicationreconciliationBuild a comment system with sort persistence and an image-generation service that handles long-running GPU jobs with reliable ordering and status delivery.
Model answercrudasync-jobspaginationpersistenceDesign a system that executes jobs composed of dependent tasks, managing state, handling failures, and coordinating parallel work across distributed workers.
Model answerdistributed-systemsorchestrationstate-machinesreliabilityDesign a thread-safe in-memory cache with LRU eviction and a CPU-intensive reconciliation service that handles traffic spikes and manages computational limits.
Model answercachingconcurrencyscalabilitydistributed-systemsBuild the architecture for a multi-client file storage system with hierarchical organization, collaborative sharing, chunked uploads, and cross-device synchronization.
Model answerdistributed-systemsstorageapi-designconsistencyDebug a backend service that degrades under load, then calculate the infrastructure needed to support given traffic assumptions.
Model answercapacity-planningperformanceinfrastructurescalabilityChoose connection modes, tune query performance, and understand filter precedence for dashboards over large datasets in business intelligence platforms.
Model answerbusiness-intelligencedata-architectureperformance-optimizationDesign a scalable auction system handling 500k live auctions, 5M watchers, proxy bidding, reserve prices, buy-it-now, soft close, and sub-200ms bid latency.
Model answerauctionsreal-timeconsistencyshardingInvestigate why a network server's P99 latency jumps from 10ms to 2s under load despite low CPU usage, and propose a plan to identify the bottleneck.
Model answerperformanceconcurrencyprofilingDesign a scalable service that converts long URLs into compact aliases and redirects users back to the original destinations.
Model answerdistributed-systemsscalabilitycachingdatabasesDesign a scalable system to capture high-frequency GPS data from mobile workout sessions, compute activity metrics, and serve historical workout information.
Model answerhigh-throughputgeospatialtime-seriesdata-modelingDesign a service that converts card transactions to loyalty points, ensuring exactly-once processing, precise arithmetic, and safe redemptions.
Model answerdistributed-systemsledgeridempotencyconsistencyDesign a scalable payment platform handling donation submissions with async processing, idempotency guarantees, and burst traffic support.
Model answerpaymentsasync-processingdistributed-systemsidempotencyDescribe how log-structured databases decouple compute from storage, use quorum-based replication, achieve fast recovery, and handle multi-version concurrency control.
Model answerdistributed-systemsdatabasesstorage-enginesreplicationBuild the infrastructure for tracking and displaying message state (sent, delivered, read) in a messaging platform serving millions of users.
Model answerdistributed-systemsreal-timescalabilityDesign a distributed system that ingests exception logs from microservices, groups similar errors, and maintains a live top-10 most common exceptions dashboard.
Model answerdistributed-systemsstreamingdata-pipelineaggregationDesign a normalized database schema supporting users, roles, permissions, role inheritance, and both global and resource-scoped access control.
Model answerdatabase-designauthorizationnormalizationschema-design