Topic
System Design interview problems
Scalable services, storage, caching and trade-offs. 1131 original problems, each with a worked model answer.
43 easy719 medium369 hard
Showing 1051–1080 of 1131 results
Design a backend system for managing event reservations across multiple venue types with pluggable business logic, concurrency safety, and transactional integrity.
Model answersystem-designconcurrencytransactionsextensibilityBuild a low-latency distributed system that enforces rolling-window impression limits across multiple dimensions and time horizons for an advertising platform.
Model answerdistributed-systemsreal-timeapi-designDesign an in-memory event matching engine that routes incoming market events to registered subscribers based on filtering criteria.
Model answerconcurrencydata-structureslow-latencypub-subBuild a distributed system that tracks item frequencies from a high-throughput stream and serves the most popular items with low latency.
Model answerstreamingdistributed-systemsapproximation-algorithmscacheDesign a robust interface to propagate a control bit between two independently-powered, potentially asynchronous SoC domains.
Model answerhardwarepower-managementclock-domain-crossingsoc-designWrite a CLI tool that authenticates via OAuth 2.0, fetches paginated data from one API, transforms it, and posts it to another with checksums and idempotency.
Model answeroauthapi-integrationdata-migrationidempotencyDesign a monitoring and reliability system that protects a 99.99% availability target for a high-traffic SaaS platform handling 100k requests/second.
Model answerobservabilityreliabilitySLI-SLOalertingBuild a metrics pipeline that tracks popular pages and calculates signup conversion rates with clear event semantics and late-arrival handling.
Model answeranalyticsstreamingdata-pipelinemetricsDesign the architecture for a consumer stock trading app handling order execution, account management, real-time market data, and settlement.
Model answertrading-systemsfinancial-servicesdistributed-systemsreal-timeDesign a high-traffic event ticketing platform with temporary seat reservations, automatic expiration, and zero overselling under concurrent access.
Model answerdistributed-systemsconcurrencyconsistencyscalabilityDesign a system that serves translated strings to clients worldwide, handling locale resolution, variables, plurals, live updates, fallback, and offline support.
Model answerlocalizationinternationalizationcontent deliverycachingImplement playback logic for a video player that maintains 25fps timing using thread-safe coordination between frame reading and rendering operations.
Model answerconcurrencythreadingproducer-consumerreal-time-systemsCreate a reusable autocomplete input component in React that queries a search API, handles asynchronous responses, and displays suggestions efficiently.
Model answerreactcomponent-designapi-integrationcachingDesign a scalable system for booking dining tables that handles concurrent requests and prevents conflicts.
Model answerdistributed-systemsconcurrencydatabasescachingDesign a system that accepts an image query and returns visually similar images from a corpus of billions, covering storage, indexing, and retrieval trade-offs.
Model answersystem designstorageindexingvector searchBuild a system that combines investment data from multiple third-party sources into a unified view with clear freshness indicators and consistent calculations.
Model answerdata-ingestioneventual-consistencyfinancial-systemsDesign a scalable backend for storing, organizing, and retrieving user photos and albums, covering API design, storage, data modeling, and reliability.
Model answerobject-storagecdnshardingmetadataBuild a system that ingests numeric measurements from distributed services, persists them efficiently, powers query dashboards, and triggers alerts.
Model answertime-seriesdistributed-systemsdata-modelingstorageDesign a solution to serve three independent websites with separate domain names from one server with a single public IP address.
Model answernetworkingweb-infrastructurednstlsTrace every layer from keypress to process exit when a shell executes a directory-listing command, covering process creation, syscalls, and filesystem interactions.
Model answerlinuxoperating-systemssyscallsfilesystemBuild a backend architecture for managing employee data and payroll changes with strong audit trails, concurrency safety, and regional customization support.
Model answerdatabasesconcurrencyapi-designdata-modelingDesign a frontend component that fetches paginated data, applies client-side search and sort, and handles race conditions efficiently.
Model answerreactfrontend-architecturestate-managementDesign a payment calculation service that maintains SLAs during dependency failures and choose appropriate storage for financial data correctness.
Model answerreliabilitystorage-architecturepaymentsslaDesign a scalable system that delivers a personalized, real-time activity feed to millions of users with low latency and high throughput.
Model answersystem designreal-timefeedsfan-outBuild a scalable property reservation system that handles millions of searches and prevents double-booking through strong consistency guarantees.
Model answerdistributed-systemsconcurrencycachingdatabasesDesign an end-to-end system for validating, monitoring, and recovering from data failures across both batch and streaming pipelines in a production environment.
Model answerdata-engineeringobservabilitystreamingdata-qualityDiagnose why newly spawned processes fail unpredictably on Linux cluster nodes by systematically checking resource limits, kernel logs, and system metrics.
Model answerlinuxdebugginginfrastructureresource-limitsDesign a fault-tolerant, distributed web crawler that discovers, fetches, parses, and stores billions of pages while respecting site politeness rules.
Model answerdistributed-systemscrawlingurl-frontierdeduplicationDesign a service where users upload, view, and remove photos, storing each unique content blob once using its hash as the key.
Model answerstoragededuplicationdistributed-systemsapi-designDesign a REST endpoint for a Python function and write unit tests that validate logic, handle edge cases, and isolate dependencies.
Model answerREST APItestingPythonweb frameworks