KatInterview

Topic

System Design interview problems

Scalable services, storage, caching and trade-offs. 1131 original problems, each with a worked model answer.

Problems1131

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-designconcurrencytransactionsextensibility
  • Build 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-design
  • Design an in-memory event matching engine that routes incoming market events to registered subscribers based on filtering criteria.

    Model answerconcurrencydata-structureslow-latencypub-sub
  • Build a distributed system that tracks item frequencies from a high-throughput stream and serves the most popular items with low latency.

    Model answerstreamingdistributed-systemsapproximation-algorithmscache
  • Design a robust interface to propagate a control bit between two independently-powered, potentially asynchronous SoC domains.

    Model answerhardwarepower-managementclock-domain-crossingsoc-design
  • Write 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-migrationidempotency
  • Design a monitoring and reliability system that protects a 99.99% availability target for a high-traffic SaaS platform handling 100k requests/second.

    Model answerobservabilityreliabilitySLI-SLOalerting
  • Build a metrics pipeline that tracks popular pages and calculates signup conversion rates with clear event semantics and late-arrival handling.

    Model answeranalyticsstreamingdata-pipelinemetrics
  • Design the architecture for a consumer stock trading app handling order execution, account management, real-time market data, and settlement.

    Model answertrading-systemsfinancial-servicesdistributed-systemsreal-time
  • Design a high-traffic event ticketing platform with temporary seat reservations, automatic expiration, and zero overselling under concurrent access.

    Model answerdistributed-systemsconcurrencyconsistencyscalability
  • Design a system that serves translated strings to clients worldwide, handling locale resolution, variables, plurals, live updates, fallback, and offline support.

    Model answerlocalizationinternationalizationcontent deliverycaching
  • Implement playback logic for a video player that maintains 25fps timing using thread-safe coordination between frame reading and rendering operations.

    Model answerconcurrencythreadingproducer-consumerreal-time-systems
  • Create a reusable autocomplete input component in React that queries a search API, handles asynchronous responses, and displays suggestions efficiently.

    Model answerreactcomponent-designapi-integrationcaching
  • Design a scalable system for booking dining tables that handles concurrent requests and prevents conflicts.

    Model answerdistributed-systemsconcurrencydatabasescaching
  • Design 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 search
  • Build 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-systems
  • Design a scalable backend for storing, organizing, and retrieving user photos and albums, covering API design, storage, data modeling, and reliability.

    Model answerobject-storagecdnshardingmetadata
  • Build a system that ingests numeric measurements from distributed services, persists them efficiently, powers query dashboards, and triggers alerts.

    Model answertime-seriesdistributed-systemsdata-modelingstorage
  • Design a solution to serve three independent websites with separate domain names from one server with a single public IP address.

    Model answernetworkingweb-infrastructurednstls
  • Trace every layer from keypress to process exit when a shell executes a directory-listing command, covering process creation, syscalls, and filesystem interactions.

    Model answerlinuxoperating-systemssyscallsfilesystem
  • Build a backend architecture for managing employee data and payroll changes with strong audit trails, concurrency safety, and regional customization support.

    Model answerdatabasesconcurrencyapi-designdata-modeling
  • Design a frontend component that fetches paginated data, applies client-side search and sort, and handles race conditions efficiently.

    Model answerreactfrontend-architecturestate-management
  • Design a payment calculation service that maintains SLAs during dependency failures and choose appropriate storage for financial data correctness.

    Model answerreliabilitystorage-architecturepaymentssla
  • Design 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-out
  • Build a scalable property reservation system that handles millions of searches and prevents double-booking through strong consistency guarantees.

    Model answerdistributed-systemsconcurrencycachingdatabases
  • Design 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-quality
  • Diagnose why newly spawned processes fail unpredictably on Linux cluster nodes by systematically checking resource limits, kernel logs, and system metrics.

    Model answerlinuxdebugginginfrastructureresource-limits
  • Design a fault-tolerant, distributed web crawler that discovers, fetches, parses, and stores billions of pages while respecting site politeness rules.

    Model answerdistributed-systemscrawlingurl-frontierdeduplication
  • Design a service where users upload, view, and remove photos, storing each unique content blob once using its hash as the key.

    Model answerstoragededuplicationdistributed-systemsapi-design
  • Design a REST endpoint for a Python function and write unit tests that validate logic, handle edge cases, and isolate dependencies.

    Model answerREST APItestingPythonweb frameworks

More topics