System Design Interview Questions
Scalability, load balancing, caching, microservices and more.
224 questions
Popular Searches
1. What is Load Balancing?
easyScalability 5 mins2. What is Caching in System Design?
mediumPerformance 6 mins3. Horizontal vs Vertical Scaling
easyScalability 5 mins4. What is a CDN (Content Delivery Network)?
easyPerformance 5 mins5. What is a Message Queue?
mediumAsynchronous Communication 5 mins6. SQL vs NoSQL for Scale: Which Should You Choose?
mediumData Storage 6 mins7. What is Rate Limiting?
mediumReliability 5 mins8. What is Consistent Hashing?
hardDistributed Systems 6 mins9. What is an API Gateway?
mediumMicroservices 5 mins10. What is Eventual Consistency?
mediumDistributed Systems 5 mins11. What is a Microservices Architecture?
mediumArchitecture 5 mins12. Monolith vs Microservices: What Is the Difference?
mediumArchitecture 5 mins13. What is a Reverse Proxy?
easyNetworking 4 mins14. What is Idempotency in System Design?
mediumAPI Design 5 mins15. How to Design a URL Shortener?
mediumSystem Design Case Study 6 mins16. Write-Through vs Write-Back Cache: What is the Difference?
mediumCaching Strategies 5 mins17. What is Database Replication in System Design?
mediumData Storage 5 mins18. What is a Single Point of Failure (SPOF)?
easyReliability 4 mins19. What is the Publish-Subscribe (Pub/Sub) Pattern?
mediumMessaging 5 mins20. How to Design a Rate Limiter?
mediumReliability 5 mins21. What is Back-of-the-Envelope Estimation?
easyCapacity Planning 4 mins22. Sharding vs. Partitioning: What is the Difference?
mediumData Storage 5 mins23. What is Database Indexing at Scale?
mediumData Storage 5 mins24. What is a Heartbeat in Distributed Systems?
easyDistributed Systems 4 mins25. How Would You Design a Twitter-Style News Feed?
hardFeed Systems 6 mins26. How Would You Design Instagram?
hardMedia Platforms 6 mins27. How Would You Design a WhatsApp-Style Chat System?
hardReal-Time Messaging 6 mins28. How Would You Design a Ride-Hailing System Like Uber?
hardLocation-Based Systems 6 mins29. How Would You Design a Video Streaming Platform Like Netflix?
hardStreaming Systems 6 mins30. How Would You Design YouTube?
hardVideo Streaming 6 mins31. How Would You Design Dropbox?
hardFile Storage & Sync 6 mins32. How Would You Design Google Drive?
hardCollaborative Storage 6 mins33. How Would You Design Ticketmaster?
hardInventory & Concurrency 6 mins34. How Would You Design a Notification System?
mediumMessaging & Fan-out 5 mins35. How to Design a Web Crawler
hardDistributed Systems 6 mins36. How to Design Search Autocomplete (Typeahead)
hardData Structures at Scale 6 mins37. How to Design a Distributed Cache
hardCaching 6 mins38. How to Design a Distributed Key-Value Store
hardDistributed Systems 6 mins39. How to Design a Distributed Message Queue
hardAsynchronous Communication 6 mins40. How Would You Design a Payment System?
hardPayments & Transactions 6 mins41. How Would You Design an E-Commerce Checkout Flow?
mediumE-Commerce Systems 5 mins42. How Would You Design a Stock Exchange Matching Engine?
hardTrading Systems 6 mins43. How Would You Design a Ride-Matching System?
hardGeospatial Systems 6 mins44. How Would You Design a Hotel Booking System?
mediumReservation Systems 5 mins45. How Would You Design a Food Delivery System?
hardMarketplace Systems 6 mins46. How Would You Design a Distributed Lock?
hardDistributed Systems 6 mins47. How Would You Design a Distributed Unique ID Generator?
mediumDistributed Systems 5 mins48. How Would You Design Pastebin?
mediumContent Storage Systems 5 mins49. How Would You Design a Real-Time Leaderboard?
mediumReal-Time Systems 5 mins50. How to Design an Ad Click Aggregator
hardData-Intensive Systems 6 mins51. How to Design a Distributed File System
hardStorage Systems 6 mins52. How to Design an API Rate Limiter
mediumReliability 5 mins53. How to Design a Music Streaming Service Like Spotify
hardMedia Streaming 6 mins54. How to Design a Mapping Service Like Google Maps
hardGeospatial Systems 6 mins55. How Would You Design Slack?
hardReal-Time Messaging 6 mins56. How Would You Design Zoom?
hardReal-Time Video 6 mins57. How Would You Design an Online Code Editor (like Repl.it)?
hardCollaborative Systems 6 mins58. How Would You Design a Distributed Logging System?
mediumObservability 5 mins59. How Would You Design a Metrics Monitoring System (like Prometheus)?
mediumObservability 5 mins60. How Would You Design a Feature Flag System?
mediumRelease Engineering 5 mins61. How Would You Design a Distributed Job Scheduler?
hardDistributed Systems 6 mins62. How Would You Design a Large-Scale Email Delivery Service?
mediumMessaging Infrastructure 5 mins63. How Would You Design a Distributed Counter (e.g. Like Counts)?
mediumDistributed Systems 5 mins64. How Would You Design a Top-K Trending System?
hardReal-Time Analytics 6 mins65. How Do You Design a Social Media Timeline?
hardFeed Systems 6 mins66. How Do You Design a Video Streaming Platform?
hardMedia Delivery 6 mins67. How Do You Design a Live Streaming Service?
hardReal-Time Media 6 mins68. How Do You Design a Comment System?
mediumContent Systems 5 mins69. How Do You Design a Friend Recommendation System?
hardRecommendation Systems 6 mins70. How to Design an Airline Reservation System?
hardTransactional Systems 6 mins71. How to Design a Parking Garage System?
mediumReal-Time Resource Allocation 5 mins72. How to Design an Elevator System?
mediumScheduling Algorithms 5 mins73. How to Design a Vending Machine System?
easyState Machines 4 mins74. How to Design an Inventory Management System?
hardDistributed Data Consistency 6 mins75. How to Design a Shopping Cart Service
mediumE-Commerce Systems 5 mins76. How to Design a Flash Sale System
hardHigh-Concurrency Systems 6 mins77. How to Design a Coupon System
mediumE-Commerce Systems 5 mins78. How to Design a Review and Rating System
mediumContent Systems 5 mins79. How to Design a Recommendation Engine
hardML Systems 6 mins80. How to Design a Fraud Detection System
hardReal-Time Risk Systems 6 mins81. How to Design a Content Moderation System
hardTrust & Safety 6 mins82. How to Design an Image Upload Service
mediumMedia Infrastructure 5 mins83. How to Design a Thumbnail Generation Pipeline
mediumMedia Infrastructure 5 mins84. How to Design a Video Transcoding Pipeline
hardMedia Infrastructure 6 mins85. How to Design a Log Aggregation System
hardObservability 6 mins86. How to Design a Distributed Job Queue
hardDistributed Systems 6 mins87. How to Design a Distributed Cron Scheduler
mediumDistributed Systems 6 mins88. How to Design a URL Crawler Frontier
hardWeb Crawling 6 mins89. How to Design a Typeahead Search Service
mediumSearch Systems 5 mins90. How to Design a News Feed Ranking System
hardRecommendation & Ranking 6 mins91. How to Design a Chat Presence System
mediumReal-Time Systems 5 mins92. How to Design a Group Chat System
hardReal-Time Systems 6 mins93. How to Design a File Sync Service
hardStorage & Sync 6 mins94. How to Design a Collaborative Document Editor
hardReal-Time Collaboration 6 mins95. How to Design a Polling System?
mediumReal-Time Data Collection 5 mins96. How to Design a Survey Platform?
mediumContent & Data Modeling 6 mins97. How to Design an Ad Serving System?
hardHigh-Throughput Advertising Infrastructure 6 mins98. How to Design a Bidding System?
hardAuctions & Real-Time Bidding 6 mins99. How to Design a Real-Time Analytics Dashboard?
hardStreaming Analytics 6 mins100. What is the CAP Theorem and What Trade-offs Does It Force?
hardDistributed Systems 6 mins101. What is the PACELC Theorem and How Does It Extend CAP?
hardDistributed Systems 6 mins102. ACID vs BASE: What’s the Difference and When Does Each Apply?
mediumData Storage 5 mins103. Strong Consistency vs Eventual Consistency: How Do You Choose?
mediumDistributed Systems 5 mins104. What is Quorum-based Consensus and How Does It Work?
hardDistributed Systems 6 mins105. What is the Raft Consensus Algorithm?
hardDistributed Consensus 6 mins106. What is the Paxos Consensus Algorithm?
hardDistributed Consensus 6 mins107. How Does Leader Election Work in Distributed Systems?
mediumDistributed Coordination 5 mins108. What is Two-Phase Commit (2PC)?
hardDistributed Transactions 6 mins109. What is the Saga Pattern?
mediumDistributed Transactions 5 mins110. What is CQRS (Command Query Responsibility Segregation)?
hardArchitecture Patterns 6 mins111. What is Event Sourcing?
hardArchitecture Patterns 6 mins112. What is a Bloom Filter and When Would You Use One?
mediumProbabilistic Data Structures 5 mins113. What is a Count-Min Sketch and How Does It Estimate Frequencies?
hardProbabilistic Data Structures 6 mins114. What is HyperLogLog and How Does It Count Distinct Elements?
hardProbabilistic Data Structures 6 mins115. What is a Gossip Protocol and How Does It Work?
mediumDistributed Systems 5 mins116. What are Vector Clocks and Why Are They Used?
hardDistributed Systems 6 mins117. What are Lamport Timestamps and How Do They Order Events?
mediumDistributed Systems 5 mins118. How Do You Design for Read-Heavy vs Write-Heavy Systems?
mediumScalability 6 mins119. What is the Hot Partition Problem and How Do You Fix It?
hardData Partitioning 6 mins120. What Are Cache Eviction Policies?
mediumCaching 5 mins121. What Are Cache Invalidation Strategies?
mediumCaching 5 mins122. What is the Cache-Aside Pattern?
mediumCaching 5 mins123. What is the Thundering Herd Problem?
hardReliability 6 mins124. What is Backpressure in Distributed Systems?
hardReliability 6 mins125. What is the Circuit Breaker Pattern?
mediumResilience 5 mins126. What is the Bulkhead Pattern?
mediumResilience 5 mins127. What is Retry with Exponential Backoff?
mediumReliability 5 mins128. What is a Dead Letter Queue?
mediumAsynchronous Communication 5 mins129. What are Sticky Sessions in Load Balancing?
mediumLoad Balancing 5 mins130. How Would You Design a Blob Storage System?
hardStorage Systems 6 mins131. What Are the Main Data Partitioning Strategies?
mediumData Storage 6 mins132. Why and How Do You Denormalize Data at Scale?
mediumData Storage 5 mins133. What is Database Federation and When Do You Use It?
mediumData Storage 6 mins134. What Are Read Replicas and How Do They Scale Reads?
easyReliability 4 mins135. What is a Write-Ahead Log (WAL) and Why Do Systems Use It?
mediumStorage Engines 5 mins136. How Does a Write-Ahead Log Relate to an LSM-Tree?
hardStorage Engines 6 mins137. How Do You Choose an Indexing Strategy at Scale?
hardDatabase Indexing 6 mins138. How Does Geospatial Indexing Work for Location-Based Queries?
hardSpecialized Indexes 6 mins139. How Do You Design a Full-Text Search System?
hardSearch Systems 6 mins140. What are the Main Database Sharding Strategies?
hardData Partitioning 6 mins141. How Do You Rebalance Shards Without Downtime?
hardData Partitioning 6 mins142. What is Service Discovery in Microservices?
mediumMicroservices 5 mins143. How Would You Design a Service Mesh for Microservices?
hardMicroservices 6 mins144. What is the Sidecar Pattern in Microservices?
mediumMicroservices 5 mins145. How Do You Version an API at Scale?
mediumAPI Design 5 mins146. GraphQL vs REST at Scale: How Do You Choose?
mediumAPI Design 6 mins147. How Do WebSockets Scale in a Distributed System?
hardReal-Time Systems 6 mins148. Long Polling vs Server-Sent Events: Which for Real-Time Updates?
mediumReal-Time Systems 5 mins149. Batch vs Stream Processing: How Do You Choose?
mediumData Pipelines 6 mins150. What is Lambda Architecture in System Design?
hardData Processing 6 mins151. What is Kappa Architecture and How Does It Differ from Lambda?
hardData Processing 6 mins152. Data Lake vs Data Warehouse: What Is the Difference?
mediumData Storage 5 mins153. How Would You Design an ETL Pipeline?
mediumData Engineering 6 mins154. What is Distributed Tracing and Why Is It Needed?
mediumObservability 5 mins155. SLA vs SLO vs SLI: What Is the Difference?
mediumReliability Engineering 5 mins156. What Do "Nines" of Availability Mean?
mediumReliability Engineering 5 mins157. How Do You Design a Disaster Recovery Plan?
hardResilience & Recovery 6 mins158. How Do You Design a Multi-Region Deployment?
hardDistributed Systems 6 mins159. How Does Blue-Green Deployment Work at Scale?
mediumRelease Engineering 5 mins160. What Are the Principles of Chaos Engineering?
hardResilience 6 mins161. What is Load Shedding in System Design?
mediumReliability 5 mins162. What Are the Main Rate Limiting Algorithms?
mediumReliability 6 mins163. Token Bucket vs Leaky Bucket: What Is the Difference?
mediumReliability 5 mins164. Fixed Window vs Sliding Window Rate Limiting: What Is the Difference?
mediumReliability 6 mins165. How Does Rebalancing Work on a Consistent Hashing Ring?
hardDistributed Systems 6 mins166. What is Database Connection Pooling and Why Does It Matter?
mediumData Storage 5 mins167. What is Connection Multiplexing and How Does HTTP/2 Use It?
mediumNetworking 5 mins168. What is Request Coalescing and How Does It Prevent Cache Stampedes?
mediumCaching 5 mins169. What is Write Amplification and Why Does It Matter for Storage Engines?
hardData Storage 6 mins170. What is Read Amplification in Storage Engines?
hardStorage Engines 6 mins171. What is Space Amplification in Storage Engines?
hardStorage Engines 6 mins172. What is a Log-Structured Merge (LSM) Tree?
hardStorage Engines 6 mins173. B-Tree vs LSM-Tree Storage: Which Should You Choose?
hardStorage Engines 6 mins174. Columnar vs Row Storage: Which Should You Choose?
mediumData Storage 5 mins175. What Are the Main Data Replication Strategies?
mediumData Replication 5 mins176. What is Multi-Master Replication?
hardData Replication 6 mins177. Active-Active vs Active-Passive: What is the Difference?
mediumHigh Availability 5 mins178. What is the Split-Brain Problem in Distributed Systems?
hardDistributed Systems 6 mins179. What Are Network Partitions in Distributed Systems?
mediumDistributed Systems 5 mins180. What is Clock Synchronization in Distributed Systems?
hardDistributed Systems 6 mins181. How Does NTP Keep Distributed Clocks in Sync?
mediumDistributed Systems 5 mins182. What are Distributed Transactions and How Do They Work?
hardData Consistency 6 mins183. What is the Outbox Pattern?
mediumData Consistency 5 mins184. What is Change Data Capture (CDC)?
mediumData Consistency 5 mins185. What is Windowing in Stream Processing?
hardStream Processing 6 mins186. Exactly-Once vs At-Least-Once Delivery: What Is the Difference?
hardMessaging Semantics 6 mins187. What Are Message Ordering Guarantees?
mediumMessaging Semantics 5 mins188. How Do You Design a Good Partition Key?
hardDistributed Systems 6 mins189. Fan-Out on Write vs Fan-Out on Read: Which Should You Use?
hardFeed Architecture 6 mins190. Push vs Pull Architecture: What Is the Difference?
mediumData Delivery Patterns 5 mins191. Polling vs Webhooks: When Should You Use Each?
mediumData Delivery Patterns 5 mins192. API Gateway vs Load Balancer: What Is the Difference?
mediumMicroservices 5 mins193. What Is Edge Computing Architecture?
mediumDistributed Systems 5 mins194. What Is Content-Addressable Storage?
hardDistributed Systems 6 mins195. How Are Merkle Trees Used in Distributed Systems?
hardData Integrity 6 mins196. How Do You Implement Rate Limiting Across Multiple Servers?
hardReliability 6 mins197. How Do You Manage User Sessions Across Multiple Servers?
mediumScalability 5 mins198. How Do You Mitigate Hot Spots in a Sharded System?
hardDistributed Systems 6 mins199. What is Cell-Based Architecture and Why Does It Improve Reliability?
hardReliability 6 mins200. What is the Bulkhead Pattern in Microservices?
mediumResilience 5 mins201. What is the Strangler Fig Pattern?
mediumMigration Strategy 5 mins202. What is an Anti-Corruption Layer?
hardIntegration Patterns 6 mins203. What is the Database-per-Service Pattern?
mediumData Ownership 5 mins204. What is the Shared Database Anti-Pattern?
mediumData Ownership 5 mins205. What is the API Composition Pattern?
mediumMicroservices Query Patterns 5 mins206. What is the Backend for Frontend (BFF) Pattern?
mediumMicroservices Query Patterns 5 mins207. Orchestration vs Choreography in Microservices: What is the Difference?
hardDistributed Workflows 6 mins208. What are Idempotency Keys in APIs?
mediumAPI Reliability 5 mins209. How Do You Design Idempotent Writes in a Distributed System?
hardDistributed Data Consistency 6 mins210. What is Capacity Planning and How Do You Do It?
mediumCapacity & Scale 5 mins211. How Do You Estimate Traffic for a System Design Interview?
mediumCapacity & Scale 5 mins212. What is Queueing Theory and Why Does It Matter for System Design?
hardCapacity & Scale 6 mins213. What is Little’s Law and How Do You Apply It?
hardCapacity & Scale 6 mins214. Why Does Tail Latency (p99) Matter More Than Average Latency?
mediumPerformance 5 mins215. Latency vs Throughput: What Is the Trade-off?
mediumPerformance 5 mins216. What Are the Main Autoscaling Strategies?
mediumScalability 5 mins217. How Does Horizontal Pod Autoscaling Work in Kubernetes?
mediumContainer Orchestration 6 mins218. What Causes Database Connection Storms and How Do You Prevent Them?
hardReliability 6 mins219. What Is the Cold Start Problem in Serverless Computing?
mediumServerless Architecture 5 mins220. What Are the Trade-offs of Serverless Architecture?
mediumCompute Models 5 mins221. What Are Edge Caching Strategies?
mediumPerformance & Caching 5 mins222. What Are Geo-Replication Strategies?
hardDistributed Systems 6 mins223. What is Active-Passive Failover?
mediumReliability 5 mins224. What Are Zero-Downtime Deployment Strategies?
mediumDeployment & Release Engineering 5 mins