System Design Interview Questions 2026

Published July 22, 2026 · Updated July 22, 2026

152 System Design interview questions from Amazon, Microsoft, Flipkart, Infosys, TCS, Swiggy, Meta, Zomato, Razorpay, PhonePe, Paytm, LinkedIn, Atlassian, Uber, Stripe, Salesforce, Oracle, Adobe, Apple, Netflix, Airbnb, Google, Lyft, Goldman Sachs, LTIMindtree, General, Hotstar, Twitter, Grab and more. Real questions from Technical, System Design, and HR rounds.

152 questions
Companies: Amazon, Microsoft, Flipkart, Infosys…

All System Design Questions

Meta Hard System Design round 6–10 YearsSystem DesignDistributed Systems

Design Instagram feed — a user follows 500 people, each posts 2-3 times daily. How do you generate and serve a personalized, ranked feed at scale?

↑ 148 upvotes · 119 engineers asked this · Senior SDE
Lyft Hard System Design round 6–10 YearsSystem DesignDistributed Systems

Design a ride-sharing location tracking system. 10 million drivers update their GPS location every 5 seconds. How do you store and query nearby drivers efficiently?

↑ 143 upvotes · 114 engineers asked this · Senior SDE
Goldman Sachs Hard System Design round 7–10 YearsAWSSystem Design

Your company needs 99.99% uptime for a critical web application. How do you architect a multi-region active-active setup on AWS?

↑ 141 upvotes · 112 engineers asked this · Cloud Architect
Amazon Hard System Design round 5–8 YearsSystem DesignKafkaDistributed Systems

Design a notification system (push/email/SMS) that sends 10 million notifications per day to users across time zones with delivery guarantees.

↑ 139 upvotes · 111 engineers asked this · Senior SDE
Google Hard System Design round 5–8 YearsSystem DesignDistributed Systems

Design a URL shortening service (like bit.ly) that handles 1 billion shortened URLs and 100K redirects per second.

↑ 134 upvotes · 107 engineers asked this · Senior SDE
Stripe Hard System Design round 5–8 YearsSystem DesignDistributed SystemsRedis

Design a distributed rate limiter that works across 100 API servers. A user is allowed 1000 requests per minute.

↑ 127 upvotes · 101 engineers asked this · Senior SDE
Amazon Hard System Design round Distributed SystemsSystem DesignAWS

Design a distributed rate limiter that can handle 10M requests per second across multiple data centers. Discuss consistency tradeoffs, the choice between token bucket vs leaky bucket, and how you would handle clock skew across regions.

↑ 99 upvotes · 89 engineers asked this · SDE2
Uber Hard System Design round Distributed SystemsRedisKafka

Design Uber's driver-rider matching system. How do you match the nearest available driver to a rider within 200ms at global scale? Cover: geospatial indexing (H3/S2), the dispatch algorithm, how you handle supply-demand imbalances, and what happens when a matched driver rejects the trip.

↑ 99 upvotes · 98 engineers asked this · SDE2
Netflix Hard System Design round Distributed SystemsKafkaAWS

Design Netflix's video recommendation system. Netflix serves 250 million subscribers. How do you generate personalised top-10 rows for each user in real time? Cover: collaborative filtering, content-based signals, contextual signals (time of day, device), and how you handle the cold-start problem for new users.

↑ 95 upvotes · 93 engineers asked this · SDE2
Microsoft Hard System Design round

Design Microsoft Teams' presence system. How do you propagate "online / away / busy" status to millions of users with sub-second latency without overwhelming the backend?

↑ 89 upvotes · 27 engineers asked this · SDE2
PhonePe Hard System Design round KafkaDistributed SystemsPostgreSQL

Design PhonePe's UPI transaction system to handle 1 billion transactions per day. Cover: request routing to the correct bank, NPCI integration, handling duplicate transactions, consistency vs availability trade-offs, and how you build a reliable audit trail for regulatory compliance.

↑ 89 upvotes · 89 engineers asked this · SDE2
Hotstar Hard System Design round 5-9 years

Design the backend for a live cricket score app. 50 million users are watching simultaneously, score updates every ball. Users must see the score update within 2 seconds.

↑ 84 upvotes · 12 engineers asked this · Staff
Meta Hard System Design round Distributed SystemsKafkaMicroservices

Design Facebook's News Feed ranking system. How do you score posts from thousands of friends and pages? Cover: candidate generation, feature extraction, ML ranking model, how you handle near-real-time freshness, and edge vs server-side ranking for mobile clients.

↑ 83 upvotes · 81 engineers asked this · SDE2
Amazon Hard System Design round 5-9 years

Design a hotel booking system. Rooms must not be double-booked. Searches should show real-time availability. Handle 10,000 concurrent booking attempts for popular dates.

↑ 83 upvotes · 11 engineers asked this · Staff
Amazon Hard Screening round 5-9 years

What is the Saga pattern in microservices? When would you choose choreography over orchestration?

↑ 83 upvotes · 31 engineers asked this · Staff
Google Hard System Design round 5-9 years

Design YouTube's video upload and processing pipeline. A user uploads a 4K video of 10GB. How does it become available in 360p, 720p, and 4K for streaming?

↑ 82 upvotes · 10 engineers asked this · Staff
General Hard System Design round 6-10 years

Design a system that detects fraudulent credit card transactions in real-time (decision in under 50ms). The system processes 10,000 transactions per second.

↑ 81 upvotes · 9 engineers asked this · Staff
Amazon Hard System Design round 6-10 years

Design a distributed job scheduler like AWS Batch. Jobs have dependencies (job B starts only after job A completes). The system must handle 100K jobs per day.

↑ 80 upvotes · 8 engineers asked this · Staff
Stripe Hard System Design round KafkaPostgreSQLDistributed Systems

Design Stripe's webhook delivery system. Stripe sends millions of webhooks per day to customer endpoints that can be slow, down, or buggy. Cover: at-least-once delivery guarantees, retry with exponential backoff, ordering guarantees (or lack thereof), how to handle a customer endpoint that is down for 24h, and the dead-letter strategy.

↑ 79 upvotes · 77 engineers asked this · SDE2
Google Hard System Design round Distributed SystemsRedis

Design Google Search autocomplete. As a user types "wea", suggest "weather", "weather today", "weather London". Cover: trie vs inverted index, personalisation, freshness, latency budget (<100ms), and how you handle offensive query suggestions.

↑ 79 upvotes · 55 engineers asked this · SDE2
Amazon Hard System Design round 4-7 years

How would you implement search-as-you-type autocomplete for 10 million product names with <50ms response time?

↑ 79 upvotes · 7 engineers asked this · SDE2
Amazon Medium Screening round 3-6 years

You're designing an API for external developers. What versioning strategy would you use and why?

↑ 77 upvotes · 5 engineers asked this · SDE2
Amazon Medium Screening round 3-7 years

What is the difference between a monorepo and polyrepo? What are the real trade-offs?

↑ 76 upvotes · 4 engineers asked this · SDE2
Flipkart Hard System Design round

Design Flipkart's flash sale system. The system must handle 1M concurrent users trying to buy a limited inventory of 10K items without overselling. Walk through the inventory locking, queueing, and database isolation strategy.

↑ 75 upvotes · 64 engineers asked this · SDE2
Uber Hard System Design round KafkaRedisDistributed Systems

Design Uber's dynamic pricing (surge) system. When supply is low and demand is high in a geofenced zone, prices increase automatically. Explain the data pipeline, the pricing model, how you prevent oscillations (price going up → drivers rush in → price drops → drivers leave), and regulatory constraints.

↑ 75 upvotes · 74 engineers asked this · SDE2
Netflix Hard System Design round Distributed SystemsAWS

Design Netflix's adaptive bitrate streaming (ABR) system. How does the client decide which video quality to stream second by second based on available bandwidth? Explain DASH vs HLS, the segment request pipeline, buffer-based rate adaptation algorithms, and CDN architecture.

↑ 74 upvotes · 73 engineers asked this · SDE2
Razorpay Hard System Design round KafkaRedisPostgreSQL

Design Razorpay's payment retry system. When a payment fails due to a transient error (bank timeout, network blip), how do you retry safely without double-charging the customer? Cover: idempotency keys, exponential backoff with jitter, dead-letter queues, and reconciliation with bank statements.

↑ 72 upvotes · 71 engineers asked this · SDE2
Google Hard System Design round Distributed SystemsKafkaGCP

Design Google Maps ETA calculation. How do you compute the fastest route for 1B+ users in real time? Cover: graph representation of road network, Dijkstra vs A* vs Contraction Hierarchies, live traffic data ingestion, and how you handle road closures.

↑ 72 upvotes · 48 engineers asked this · SDE2
Meta Hard System Design round Distributed SystemsKafkaAWS

Design Facebook Live - a system to stream live video from one user to potentially millions of concurrent viewers with low latency. Cover: ingest pipeline, transcoding, CDN edge caching, adaptive bitrate, and how you handle a celebrity going live.

↑ 71 upvotes · 48 engineers asked this · SDE2
Netflix Hard System Design round Distributed SystemsAWSKafka

Design Netflix's content delivery pipeline. A new movie is added. Walk through transcoding into 50+ formats, uploading to CDN edge nodes globally, and ensuring playback starts within 200ms for any device anywhere.

↑ 69 upvotes · 46 engineers asked this · SDE2
Amazon Hard Screening round 3-7 years

Explain rate limiting algorithms: token bucket, leaky bucket, fixed window, sliding window. Which is best for APIs?

↑ 69 upvotes · 17 engineers asked this · SDE2
Stripe Hard System Design round Distributed SystemsKafkaPostgreSQL

Design Stripe's fraud detection system. For every payment, you must decide accept/decline in under 100ms using hundreds of signals. Cover: feature engineering, real-time ML scoring, rule engine, and how you minimise false positives (declined legitimate payments).

↑ 68 upvotes · 44 engineers asked this · SDE2
Razorpay Hard Screening round 3-6 years

What is idempotency? Why is it critical for payment APIs and how do you implement it?

↑ 68 upvotes · 16 engineers asked this · SDE2
LinkedIn Hard System Design round KafkaRedisDistributed Systems

Design LinkedIn's feed. Each user sees posts from their connections, pages they follow, and sponsored content. Posts must be ranked by relevance. Cover: fan-out-on-write vs fan-out-on-read, feed generation for users with 30k connections, and freshness.

↑ 67 upvotes · 44 engineers asked this · SDE2
Amazon Medium Screening round 2-6 years

Explain what happens when you type 'google.com' in a browser. Cover DNS, TCP, TLS, HTTP in sequence.

↑ 67 upvotes · 15 engineers asked this · SDE2
Meta Hard System Design round Distributed SystemsKafkaRedis

Design Instagram Stories. A story disappears after 24 hours and is shown in a ring around profile pictures. Cover: upload pipeline, storage with TTL, efficient delivery to followers, and view count tracking at scale.

↑ 66 upvotes · 44 engineers asked this · SDE2
PhonePe Hard System Design round Distributed SystemsKafkaRedis

Design PhonePe's switch - the internal routing layer that forwards UPI requests to the correct bank. It must be highly available (99.999%), handle 50k TPS, and complete each request within 30 seconds (NPCI timeout). Cover: circuit breakers, retries, and bank-specific timeouts.

↑ 66 upvotes · 43 engineers asked this · SDE2
Amazon Hard Screening round 4-7 years

What is a circuit breaker pattern? How does it prevent cascade failures in microservices?

↑ 66 upvotes · 14 engineers asked this · SDE2
LinkedIn Hard System Design round Distributed SystemsKafkaElasticsearch

Design LinkedIn's "People You May Know" feature. How do you compute second and third-degree connections for 900 million users efficiently? Discuss graph storage (adjacency list vs matrix), batch vs real-time computation, and how to refresh recommendations when someone adds a new connection.

↑ 65 upvotes · 63 engineers asked this · SDE2
Meta Hard System Design round Distributed SystemsKafka

Design WhatsApp's end-to-end encrypted messaging system. How do you exchange keys, store messages server-side without reading them, and handle multi-device sync? Cover the Signal Protocol basics.

↑ 65 upvotes · 43 engineers asked this · SDE2
TCS Medium Screening round 2-6 years

Explain the SOLID principles in software design. Give a real code example of violating Single Responsibility Principle.

↑ 65 upvotes · 13 engineers asked this · SDE2
Airbnb Hard System Design round ElasticsearchRedisDistributed Systems

Design Airbnb's search and availability system. A guest searches for "Paris, 3 nights, 2 guests" and sees ranked listings. Cover: availability calendar storage, real-time inventory updates (when host blocks dates), geospatial search, ranking signals (price, reviews, Superhost status), and how you handle the thundering herd on popular dates.

↑ 64 upvotes · 62 engineers asked this · SDE2
General Medium HR round 3-8 years

Your team has been writing code for 6 months with no documentation. How do you introduce documentation without disrupting velocity?

↑ 64 upvotes · 12 engineers asked this · SDE2
Swiggy Hard System Design round KafkaRedisAWS

Design Swiggy's real-time order tracking system. A customer should see their delivery agent's location update every 5 seconds on a map. Cover: location ingestion from agents, WebSocket vs SSE for pushing updates to clients, data store choices, and how you scale to 100k concurrent orders during peak hours.

↑ 63 upvotes · 62 engineers asked this · SDE2
Flipkart Hard System Design round ElasticsearchKafkaRedis

Design Flipkart's product search and ranking system. A user searches "wireless earphones under 2000". How do you retrieve, rank, and filter 10,000+ matching products in under 200ms?

↑ 63 upvotes · 41 engineers asked this · SDE2
Stripe Hard System Design round PostgreSQLKafkaDistributed Systems

Design Stripe's subscription billing system (Stripe Billing). Customers are charged on recurring intervals (monthly/annual) in different currencies, with proration for plan upgrades. Cover: invoice generation, dunning for failed payments, and SCA (Strong Customer Authentication) compliance.

↑ 63 upvotes · 40 engineers asked this · SDE2
Netflix Hard System Design round Distributed SystemsKafkaAWS

Design Netflix's A/B testing platform. Engineers run 100+ experiments simultaneously on different features. How do you assign users to buckets consistently, collect metrics, measure statistical significance, and avoid interaction effects?

↑ 62 upvotes · 40 engineers asked this · SDE2
Uber Hard System Design round Distributed SystemsRedisKafka

Design Uber Eats' order batching system. A single delivery partner picks up orders from multiple nearby restaurants and delivers to multiple customers in one trip. How do you optimise the route and assignment?

↑ 62 upvotes · 41 engineers asked this · SDE2
Zomato Hard System Design round KafkaRedisDistributed Systems

Design Zomato's delivery time prediction system. Before placing an order, show "Delivers in 35 minutes". The estimate must account for restaurant preparation time, distance, traffic, and number of parallel orders the partner is handling.

↑ 62 upvotes · 40 engineers asked this · SDE2
Google Medium Screening round 3-6 years

Explain gRPC vs REST API. When would you choose gRPC?

↑ 62 upvotes · 10 engineers asked this · SDE2
Infosys Medium System Design round JavaSpring BootMySQL

Design a library management system. Include entities (Book, Member, Loan), relationships, and key operations: borrow, return, search, fine calculation. Discuss how to handle concurrent borrows of the last copy of a book.

↑ 61 upvotes · 22 engineers asked this · SDE2
Swiggy Hard System Design round RedisKafkaDistributed Systems

Design Swiggy's delivery partner assignment algorithm. When an order is placed, how do you assign the optimal nearby delivery partner within 2 minutes considering distance, current load, and restaurant prep time?

↑ 61 upvotes · 40 engineers asked this · SDE2
Razorpay Hard System Design round KafkaPostgreSQLRedis

Design Razorpay's payout system (RazorpayX). Businesses send bulk payouts to thousands of vendor accounts simultaneously. Cover: batching, bank API rate limits, real-time status tracking, and failure handling.

↑ 61 upvotes · 39 engineers asked this · SDE2
Amazon Hard Screening round 5-9 years

What is event sourcing and how does it differ from CRUD? What are the trade-offs?

↑ 61 upvotes · 9 engineers asked this · Staff
Google Hard System Design round 4-7 yearsSystem DesignDistributed Systems

Design an autocomplete/typeahead system for a search engine handling 100K queries per second. Discuss the trie-based approach, how you would rank suggestions, and how you would keep the trie updated with trending queries without hurting read latency.

↑ 61 upvotes · 24 engineers asked this · Senior SDE
Uber Hard System Design round Distributed SystemsPostgreSQLKafka

Design Uber's payment reconciliation system. Uber collects payments in 70+ countries with different currencies, payment methods, and regulations. How do you reconcile driver payouts against rider charges and detect discrepancies?

↑ 60 upvotes · 38 engineers asked this · SDE2
Atlassian Hard System Design round Distributed SystemsPostgreSQLAWS

Design Bitbucket's code review system (Pull Requests). Multiple reviewers comment on specific lines of code. The PR is mergeable when all reviewers approve. Cover: diff computation, inline comments anchored to code lines, and what happens when new commits invalidate existing comments.

↑ 60 upvotes · 37 engineers asked this · SDE2
Amazon Medium Screening round 3-6 years

Explain the difference between horizontal and vertical scaling. Give examples where vertical scaling is NOT the solution.

↑ 60 upvotes · 8 engineers asked this · SDE2
Apple Hard System Design round Distributed SystemsAWSKafka

Design iCloud Photo Library — 2 billion photos synced across iPhone, iPad, and Mac. Cover: deduplication (perceptual hashing), delta sync (only changed chunks), offline-first with conflict resolution, and privacy — how Apple performs server-side processing without seeing unencrypted photos.

↑ 59 upvotes · 57 engineers asked this · SDE2
Flipkart Hard System Design round KafkaDistributed SystemsJava

Design Flipkart's order management system. From "Place Order" to "Delivered", walk through every state transition, the microservices involved, how you handle partial failures (payment succeeds but inventory deduct fails), and eventual consistency.

↑ 59 upvotes · 38 engineers asked this · SDE2
Apple Hard System Design round Distributed SystemsiOS

Design Apple Pay's tap-to-pay system. When a user taps their iPhone, a payment must complete in under 500ms even with no internet connection. Cover: secure element, tokenisation, NFC protocol, and offline authorisation.

↑ 59 upvotes · 38 engineers asked this · SDE2
Paytm Hard System Design round MySQLRedisDistributed Systems

Design Paytm's wallet system that supports deposits, withdrawals, peer-to-peer transfers, and merchant payments. Ensure ACID properties for all transfers, discuss optimistic vs pessimistic locking, and explain how you handle a split-brain scenario where two nodes disagree on a wallet balance.

↑ 58 upvotes · 57 engineers asked this · SDE2
Amazon Hard System Design round Distributed SystemsKafkaAWS

Design Amazon's recommendation engine (customers who bought X also bought Y). Cover: collaborative filtering vs content-based, item-item similarity at scale, real-time vs batch computation, and how you handle the cold-start problem for new products.

↑ 58 upvotes · 38 engineers asked this · SDE2
Airbnb Hard System Design round Distributed SystemsKafkaElasticsearch

Design Airbnb's trust and safety system. How do you detect fraudulent listings, scam messages, and fake reviews at scale without blocking legitimate hosts and guests?

↑ 58 upvotes · 37 engineers asked this · SDE2
Microsoft Hard System Design round Distributed SystemsAzure

Design Azure Blob Storage. How do you store, replicate, and serve petabytes of unstructured data with 11 nines of durability? Cover: chunking, erasure coding vs 3-way replication, geo-redundancy, and handling hot blobs.

↑ 57 upvotes · 36 engineers asked this · SDE2
Paytm Hard System Design round KafkaRedisPostgreSQL

Design Paytm's cashback system. When a user completes a transaction, they may receive cashback based on complex rules (merchant, time, amount, user segment). The cashback is credited to their wallet. Cover: rule engine, deduplication, and fraud prevention.

↑ 56 upvotes · 36 engineers asked this · SDE2
Oracle Hard System Design round Distributed SystemsRedisJava

Design Oracle Cloud's IAM (Identity and Access Management) system. Thousands of customers, each with their own users, groups, and policies. How do you evaluate a permission check in under 10ms for every API call?

↑ 56 upvotes · 34 engineers asked this · SDE2
Adobe Hard System Design round KafkaElasticsearchDistributed Systems

Design Adobe Experience Cloud's customer data platform. Unify customer profiles from website visits, email clicks, and CRM data across devices and sessions. Cover identity resolution (same person on mobile and desktop), real-time segment computation, and privacy (GDPR right-to-erasure).

↑ 56 upvotes · 35 engineers asked this · SDE2
Atlassian Hard System Design round PostgreSQLAWSDistributed Systems

Design Confluence's page version history. Every edit creates a new version. Users can view any historical version and restore it. Cover: delta vs full-snapshot storage, efficient diff computation, and how you handle concurrent edits creating a branch.

↑ 56 upvotes · 35 engineers asked this · SDE2
Airbnb Hard System Design round PostgreSQLKafkaRedis

Design Airbnb's review system. Guests and hosts review each other after a stay. Reviews are revealed simultaneously to prevent bias. Cover: the blind reveal mechanism, preventing fake reviews, and abuse detection.

↑ 55 upvotes · 34 engineers asked this · SDE2
PhonePe Hard System Design round KafkaPostgreSQLRedis

Design PhonePe's merchant settlement system. Thousands of merchants receive daily settlements of their collected payments minus fees. How do you compute net payables, batch into bank transfers, and provide a reconciliation report?

↑ 54 upvotes · 33 engineers asked this · SDE2
Salesforce Hard System Design round JavaDistributed Systems

Design Salesforce Flow (visual process automation). Users define business workflows (if-then rules, send emails, create records) in a UI. How do you store, version, execute, and debug millions of active flows in a multi-tenant environment?

↑ 54 upvotes · 33 engineers asked this · SDE2
Adobe Hard System Design round AWSPostgreSQLKafka

Design Adobe Sign (e-signature platform). A contract is sent to 5 signatories who must sign in a specific order. Cover: document integrity (hash verification), audit trail, legal compliance (e-SIGN Act), and what happens if a signatory refuses.

↑ 54 upvotes · 33 engineers asked this · SDE2
TCS Medium System Design round JavaSpring BootMySQL

Design a library management system with online book reservation. Students can search, reserve, and borrow books. Librarians can manage inventory. Cover the database schema, REST APIs, and how you handle concurrent reservations of the last copy.

↑ 54 upvotes · 33 engineers asked this · SDE2
Google Hard System Design round Distributed SystemsGCP

Design Bigtable or a wide-column store from scratch. Explain SSTable, memtable, compaction strategies (size-tiered vs levelled), bloom filters for read optimisation, and how you handle tombstones for deletes.

↑ 53 upvotes · 31 engineers asked this · Staff
Swiggy Hard System Design round KafkaRedisAWS

Design Swiggy's notification system. When an order status changes (Confirmed, Picked Up, Arriving), send push notification, SMS, and in-app notification reliably with at-least-once delivery. Cover fan-out and handling inactive devices.

↑ 53 upvotes · 33 engineers asked this · SDE2
Apple Hard System Design round Distributed SystemsiOS

Design Siri's speech recognition pipeline. Audio is captured on-device, processed, and a response is returned. How do you split on-device vs server processing to balance latency, privacy, and accuracy?

↑ 53 upvotes · 32 engineers asked this · SDE2
LinkedIn Hard System Design round Distributed SystemsElasticsearchKafka

Design LinkedIn's job recommendation engine. Given a user's profile, skills, and activity, rank the most relevant open positions. Cover candidate retrieval, feature engineering (skills overlap, company affinity, recency), and how you A/B test ranking changes at scale.

↑ 52 upvotes · 52 engineers asked this · SDE2
Swiggy Hard System Design round ElasticsearchRedisDistributed Systems

Design Swiggy's restaurant search and ranking system. How do you index 200k restaurants? Discuss full-text search (Elasticsearch), geospatial filtering, personalised ranking signals (past orders, ratings, delivery time), and how to refresh the index when a restaurant updates its menu.

↑ 51 upvotes · 48 engineers asked this · SDE2
Uber Hard System Design round 5-9 years

Design a ride-sharing system like Uber. Focus on matching riders to drivers in real-time.

↑ 51 upvotes · 19 engineers asked this · Staff
Zomato Hard System Design round KafkaPostgreSQLRedis

Design Zomato Pro (subscription). Members get free delivery, discounts, and priority support. Cover: subscription lifecycle, prorated upgrades/downgrades, cohort-based analytics to measure retention, and how you handle payment failures.

↑ 50 upvotes · 31 engineers asked this · SDE2
Salesforce Hard System Design round JavaDistributed Systems

Design Salesforce's governor limits enforcement system. Every Apex code execution is limited (SOQL queries, CPU time, heap). How do you track and enforce these limits in real time across millions of concurrent org executions?

↑ 50 upvotes · 31 engineers asked this · SDE2
Amazon Medium System Design round 3-6 years

Design a URL shortener like bit.ly that handles 100K writes and 10M reads per day. The shortened URLs should never expire.

↑ 50 upvotes · 18 engineers asked this · SDE2
Zomato Hard System Design round KafkaRedisAWS

Design Zomato's surge pricing engine. When demand spikes (rain, IPL final), delivery fees increase automatically. Cover: demand signals, pricing formula, fairness constraints, A/B testing pricing strategies, and how to avoid customer backlash.

↑ 49 upvotes · 47 engineers asked this · SDE2
Microsoft Hard System Design round Distributed SystemsWebSockets

Design a collaborative code editor like VS Code Live Share. Multiple developers edit the same file simultaneously with cursors visible to all. Cover: OT vs CRDT, undo/redo in a collaborative context, and low-latency sync across regions.

↑ 49 upvotes · 30 engineers asked this · SDE2
Razorpay Hard System Design round KafkaRedisPostgreSQL

Design Razorpay's dashboard for merchants. A merchant wants to see real-time revenue, transaction success rates, and refund trends. How do you aggregate millions of transactions into live charts with under 5-second latency?

↑ 49 upvotes · 30 engineers asked this · SDE2
Paytm Hard System Design round AWSKafkaPostgreSQL

Design Paytm's KYC (Know Your Customer) pipeline. Users must submit Aadhaar/PAN documents for verification. How do you store documents securely (encrypted at rest), verify them (ML + manual review), and handle status callbacks?

↑ 49 upvotes · 30 engineers asked this · SDE2
Google Hard System Design round 6-10 years

Design a real-time collaborative whiteboard like Miro where multiple users draw simultaneously.

↑ 49 upvotes · 17 engineers asked this · Staff
Airbnb Hard System Design round Distributed SystemsKafkaPostgreSQL

Design Airbnb's host payout system. Hosts in 220+ countries receive payouts in local currency via bank transfer, PayPal, or Payoneer. Cover: currency conversion, scheduled payouts, failed payout handling, and tax compliance.

↑ 48 upvotes · 30 engineers asked this · SDE2
LinkedIn Hard System Design round KafkaDistributed SystemsElasticsearch

Design LinkedIn's InMail spam filtering system. Premium users can message strangers. How do you detect and block spam campaigns while allowing legitimate cold outreach? Cover: sender reputation, content analysis, and feedback loops.

↑ 48 upvotes · 30 engineers asked this · SDE2
Amazon Hard System Design round 5-9 years

Design a distributed task scheduler for 10 million scheduled tasks (delayed, recurring, one-time).

↑ 48 upvotes · 16 engineers asked this · Staff
Airbnb Hard System Design round 3-7 yearsSystem DesignSQLDistributed Systems

Design the booking system for a home-rental marketplace, ensuring two guests can never double-book the same property for overlapping dates under concurrent requests.

↑ 48 upvotes · 22 engineers asked this · Senior SDE
Salesforce Hard System Design round PostgreSQLDistributed SystemsAWS

Design a multi-tenant SaaS database architecture like Salesforce's. Thousands of enterprise customers share the same infrastructure but must never see each other's data. Compare silo (one DB per tenant), pool (shared DB, tenant_id column), and bridge models. Discuss query performance, schema customisation, and compliance isolation.

↑ 47 upvotes · 46 engineers asked this · SDE2
Google Hard System Design round 6-10 years

Design the backend for a Google Maps-like routing service with real-time traffic.

↑ 47 upvotes · 15 engineers asked this · Staff
Meta Hard System Design round 4-8 yearsSystem DesignDistributed Systems

Design the "who viewed your profile" feature for a professional network with 500M users. Discuss write amplification, retention policy, and privacy controls for who can see the data.

↑ 47 upvotes · 16 engineers asked this · Senior SDE
TCS Medium System Design round JavaSpring BootREST

Design a REST API for an e-commerce cart system. Define the endpoints (add item, remove item, get cart, checkout), explain authentication with JWT, handle race conditions on inventory, and discuss idempotency for the checkout endpoint.

↑ 46 upvotes · 47 engineers asked this · SDE2
Amazon Hard System Design round 5-9 years

Design a system to send 1 billion push notifications per day.

↑ 46 upvotes · 14 engineers asked this · Staff
Uber Hard System Design round 4-8 yearsSystem DesignDistributed Systems

Design the rider-driver matching system for a ride-hailing app. How would you balance minimizing rider wait time against fairness in driver earnings distribution?

↑ 46 upvotes · 23 engineers asked this · Senior SDE
Atlassian Hard System Design round Distributed SystemsWebSockets

Design Jira's real-time collaborative issue editor (multiple teammates editing the same ticket simultaneously). Cover: Operational Transformation vs CRDTs, conflict resolution, last-write-wins vs merge, and how you persist the final state while keeping latency low for users on slow connections.

↑ 45 upvotes · 44 engineers asked this · SDE2
Amazon Hard System Design round 5-9 years

Design an API gateway for 100K req/sec: authenticates, rate limits per user, routes to 20 microservices, adds observability.

↑ 45 upvotes · 13 engineers asked this · Staff
Amazon Medium Screening round 3-6 years

What is the difference between a message broker and an event streaming platform? Kafka vs RabbitMQ?

↑ 45 upvotes · 3 engineers asked this · SDE2
Amazon Hard System Design round 5-9 years

Design a distributed counter for 1 million increments per second across 100 servers tracking daily active users.

↑ 44 upvotes · 12 engineers asked this · Staff
Adobe Hard System Design round Distributed SystemsWebSocketsAWS

Design Adobe's document collaboration system (similar to Google Docs for PDFs). Multiple users can annotate and comment on a PDF simultaneously. Cover: conflict-free annotation merging, storing annotation deltas vs full snapshots, real-time sync via WebSockets, and how you export the final annotated PDF.

↑ 43 upvotes · 41 engineers asked this · SDE2
Amazon Medium System Design round 3-6 years

Your team uses feature flags but they're managed as hardcoded constants in code. This means a code deploy is needed to toggle a feature. How do you improve this?

↑ 43 upvotes · 31 engineers asked this · SDE2
Amazon Medium Screening round 3-7 years

Explain the Twelve-Factor App methodology. Pick 3 factors and explain how violating them causes production problems.

↑ 43 upvotes · 51 engineers asked this · SDE2
Netflix Hard System Design round 4-8 yearsSystem DesignAWSDistributed Systems

Design the video encoding pipeline that takes a raw uploaded file and produces multiple bitrate/resolution variants for adaptive streaming. How do you make this fault-tolerant and cost-efficient at scale?

↑ 43 upvotes · 17 engineers asked this · Senior SDE
TCS Easy Screening round 1-4 years

A developer asks: 'Should I use PUT or PATCH for updating a resource?' What's the correct answer?

↑ 42 upvotes · 50 engineers asked this · SDE2
Oracle Hard System Design round Distributed SystemsPostgreSQL

Design a distributed SQL database that supports ACID transactions across shards. Explain two-phase commit (2PC), its failure modes, and how Google Spanner uses TrueTime to replace 2PC with a more scalable approach.

↑ 41 upvotes · 39 engineers asked this · SDE2
Google Hard System Design round 4-8 yearsSystem DesignDistributed Systems

Design a URL shortener that must handle 100M new URLs per day and 10x that in reads. Walk through your ID generation strategy and why a simple auto-increment counter breaks at this scale.

↑ 41 upvotes · 22 engineers asked this · Senior SDE
Amazon Hard Scenario round 4-8 years

Your production database has a table missing an index. Adding the index on 1 billion rows. How do you do this safely?

↑ 40 upvotes · 18 engineers asked this · SDE2
Amazon Hard System Design round 5-9 years

Design a distributed lock service. How does it ensure mutual exclusion across 10 servers?

↑ 40 upvotes · 48 engineers asked this · Staff
Amazon Hard Screening round 5-9 years

What is the Strangler Fig pattern for migrating from a monolith to microservices?

↑ 39 upvotes · 17 engineers asked this · Staff
Amazon Hard System Design round 4-8 years

Design a leaderboard system for a game with 10 million players updated in real-time.

↑ 39 upvotes · 47 engineers asked this · SDE2
Twitter Hard System Design round 5-9 years

Design the database schema and queries for a Twitter-like 'trending topics' feature. Topics trend based on tweet volume in the last 1 hour, weighted by user influence.

↑ 38 upvotes · 26 engineers asked this · Staff
Amazon Medium Screening round 3-6 years

Explain the differences between REST, GraphQL, and gRPC. Which would you choose for a mobile app backend?

↑ 38 upvotes · 16 engineers asked this · SDE2
Amazon Hard System Design round 4-8 years

Design a search engine for a 1 million product catalog with faceted filtering (category, price range, brand) and full-text search.

↑ 38 upvotes · 46 engineers asked this · SDE2
Microsoft Hard System Design round 4-8 yearsSystem DesignDistributed Systems

Design the "presence" feature in Teams/Slack — showing whether a user is online, away, or in a meeting — that scales to tens of millions of concurrent users with near real-time updates.

↑ 38 upvotes · 16 engineers asked this · Senior SDE
Amazon Hard System Design round 4-7 years

How do you implement database read replicas and what queries should you route where?

↑ 37 upvotes · 15 engineers asked this · SDE2
Amazon Hard System Design round 6-10 years

Design a video streaming service like Netflix. Focus on: video storage, encoding, CDN delivery.

↑ 37 upvotes · 45 engineers asked this · Staff
Apple Hard System Design round 4-8 yearsSystem DesignDistributed Systems

Design an offline-first note-taking app that syncs across a phone, tablet, and laptop, resolving conflicts when the same note was edited on two devices while offline.

↑ 37 upvotes · 14 engineers asked this · Senior SDE
Amazon Medium Screening round 2-5 years

What is the difference between a process and a thread? How does Node.js achieve concurrency with a single thread?

↑ 36 upvotes · 14 engineers asked this · SDE2
Amazon Hard System Design round 4-7 years

Explain eventual consistency. Design a system where a user updates their profile picture and it shows consistently everywhere.

↑ 35 upvotes · 13 engineers asked this · SDE2
LinkedIn Hard System Design round 4-8 yearsSystem DesignDistributed Systems

Design the news feed ranking pipeline for a professional network. How do you balance freshness, relevance, and diversity of content sources without the feed feeling stale or repetitive?

↑ 34 upvotes · 13 engineers asked this · Senior SDE
Stripe Hard System Design round 4-8 yearsSystem DesignSQL

Design a double-entry ledger system for tracking money movement between accounts. Why is this pattern preferred over simply updating a balance column, especially for auditability?

↑ 33 upvotes · 12 engineers asked this · Senior SDE
General Hard System Design round 4-8 years

You're building a multi-tenant SaaS application. How do you isolate data between tenants?

↑ 32 upvotes · 10 engineers asked this · SDE2
Amazon Medium Screening round 4-7 years

Explain the difference between synchronous and asynchronous communication between microservices. When would each fail you?

↑ 31 upvotes · 9 engineers asked this · SDE2
Amazon Medium Screening round 2-5 years

What is database connection pooling? Why would you NOT want too large a connection pool?

↑ 30 upvotes · 8 engineers asked this · SDE2
Amazon Medium Screening round 3-6 years

Explain how a CDN handles cache invalidation. What happens if you update a file and CDN serves the old version?

↑ 29 upvotes · 7 engineers asked this · SDE2
Atlassian Hard System Design round 4-8 yearsSystem DesignElasticsearch

Design the search feature for a workspace tool (like Confluence) that indexes millions of documents across thousands of teams, ensuring users only see search results from spaces they have permission to view.

↑ 28 upvotes · 10 engineers asked this · Senior SDE
Uber Hard System Design round 4-8 yearsSystem Design

Design a rate limiter for a public API that must work correctly across multiple application server instances, not just per-instance.

↑ 27 upvotes · 15 engineers asked this · Senior SDE
Grab Hard System Design round 4-8 yearsSystem DesignDistributed Systems

Design the driver-passenger matching system for a ride-hailing app operating across Southeast Asia, where network connectivity is inconsistent in parts of the region. How does that constraint change your design versus a similar system in a market with reliable connectivity?

↑ 27 upvotes · 15 engineers asked this · Senior SDE
Amazon Hard System Design round 5-9 years

Your microservices communicate via synchronous REST calls. Service A calls B, B calls C, C calls D. D is slow and times out, causing a cascade failure that takes down A. How do you redesign this to be resilient?

↑ 26 upvotes · 24 engineers asked this · Staff
Google Hard System Design round 5-9 years

Design a search autocomplete system (like Google's search bar). It must return results in under 50ms, handle 100,000 queries per second, and personalize results based on user history.

↑ 25 upvotes · 23 engineers asked this · Staff
Google Hard System Design round 5-9 years

Design Google Drive's file sync system. A file changed on desktop must appear on mobile within 5 seconds. Files can be up to 10GB. Handle 100 million users.

↑ 24 upvotes · 22 engineers asked this · Staff
Uber Hard System Design round 6-10 years

Design Uber's surge pricing system. It must calculate real-time multipliers per area, update every minute, handle 1 million location events per second from drivers, and serve the price to 10 million concurrent users.

↑ 23 upvotes · 21 engineers asked this · Staff
Microsoft Hard System Design round 4-8 yearsSystem Design

Design a notification system that can send push, email, and SMS, where a user's preferences determine which channels are used, and a failed channel should fall back to another.

↑ 23 upvotes · 11 engineers asked this · Senior SDE
Flipkart Hard System Design round 5-9 years

Design a notification system for Flipkart that sends 10 million push notifications during a sale event in 5 minutes. Some notifications are personalized (user-specific deals), some are broadcast.

↑ 22 upvotes · 20 engineers asked this · Staff
Amazon Hard System Design round 5-9 years

Design a distributed rate limiter that works across 50 geographically distributed servers without a centralized bottleneck. It must allow 1000 requests per user per minute globally.

↑ 21 upvotes · 19 engineers asked this · Staff
Apple Hard System Design round 4-8 yearsDistributed Systems

Two data centers each think they're the primary for a user's data after a network partition heals — a classic split-brain. How would you design the system to detect and resolve this safely?

↑ 21 upvotes · 9 engineers asked this · Senior SDE
Grab Hard System Design round 4-8 yearsSystem Design

Design a dynamic (surge) pricing system that adjusts fares in near real-time based on local supply and demand, without causing prices to flicker wildly for a rider mid-booking.

↑ 21 upvotes · 10 engineers asked this · Senior SDE
Amazon Hard System Design round 5-9 years

Your company's monolith handles 10,000 requests/second. The checkout service is the bottleneck. How do you extract it into a microservice without downtime and without breaking existing functionality?

↑ 20 upvotes · 18 engineers asked this · Staff
LTIMindtree Hard System Design round 4-8 yearsSystem Design

Design a caching layer for a product catalog service that serves 50,000 reads/sec with occasional price updates. Walk through your cache invalidation strategy.

↑ 20 upvotes · 9 engineers asked this · Senior SDE
Amazon Hard System Design round 6-10 years

Design WhatsApp's message delivery system. Messages must be delivered exactly once, in order, and the sender must know when the recipient read the message. Handle 50 billion messages per day.

↑ 19 upvotes · 17 engineers asked this · Staff
Amazon Hard System Design round 4-8 years

Design a URL shortener like bit.ly. It needs to handle 100 million URLs, 10 billion reads per day, and the short URLs must never collide. Walk through your complete design.

↑ 18 upvotes · 16 engineers asked this · SDE2
Atlassian Hard System Design round 3-7 yearsSystem Design

Design the "recently viewed items" feature for a project management tool, capped at the last 20 items per user, updated in real time across tabs.

↑ 18 upvotes · 8 engineers asked this · Senior SDE
LTIMindtree Hard System Design round 5–8 YearsInterview ExperienceGCPSystem DesignMicroservices

How would you design a highly scalable and reliable application on GCP?

↑ 17 upvotes · 3 engineers asked this · Senior SDE
Amazon Hard System Design round 5-10 years

Design Instagram's newsfeed. 500 million users, each follows up to 2000 accounts. Feed must load in under 200ms. How do you architect this?

↑ 17 upvotes · 15 engineers asked this · Staff
LTIMindtree Hard System Design round 5–8 YearsInterview ExperienceGCPDistributed SystemsSystem Design

If an entire zone becomes unavailable, how would you ensure no data loss?

↑ 16 upvotes · 2 engineers asked this · Senior SDE
LTIMindtree Hard System Design round 5–8 YearsInterview ExperienceJavaGCPMicroservices

Which design patterns would you choose while designing an event-driven architecture on GCP?

↑ 14 upvotes · 2 engineers asked this · Senior SDE
LTIMindtree Hard System Design round 5–8 YearsInterview ExperienceGCPSystem DesignDistributed Systems

If data volume increases significantly, how would you modify your service architecture?

↑ 12 upvotes · 2 engineers asked this · Senior SDE
LTIMindtree Medium System Design round 5–8 YearsInterview ExperienceJavaGCPSystem Design

Explain the architecture of your Java application on GCP.

↑ 10 upvotes · 2 engineers asked this · Senior SDE
Amazon Hard Screening round 4-7 years

What is eventual consistency in distributed systems? How does Amazon S3 handle it?

↑ 6 upvotes · 14 engineers asked this · SDE2

Practice these questions with AI feedback

Get instant grading on your answers, identify your weak areas, and generate a personalised 14-day study plan — all free.

Build my study plan →

Same topic at specific companies

Amazon System Design Microsoft System Design Flipkart System Design Infosys System Design TCS System Design Swiggy System Design Meta System Design Zomato System Design Razorpay System Design PhonePe System Design

Related topics

DSA / Arrays DSA / Trees DSA / Graphs Behavioral Testing Domain DevOps API Testing DSA / Hashmaps GCP / Real-time Data Java / Pub-Sub React / Performance Node.js / Memory SQL / Query Optimization Python / Async AWS / Lambda Kafka / Consumer Microservices / Saga Pattern TypeScript / Type System MongoDB / Indexing Security / SQL Injection Performance / Latency Tail Redis / Cache Stampede Elasticsearch / Cluster Health GraphQL / Security Data Engineering / Exactly Once Snowflake / Architecture PySpark / Core Concepts Airflow / Scheduling Web / WebAssembly Debugging / Production JavaScript / V8 Engine

Frequently asked questions

Design Instagram feed — a user follows 500 people, each posts 2-3 times daily. How do you generate and serve a personalized, ranked feed at scale?
Design Instagram feed — a user follows 500 people, each posts 2-3 times daily. How do you generate and serve a personalized, ranked feed at scale?
Design a ride-sharing location tracking system. 10 million drivers update their GPS location every 5 seconds. How do you store and query nearby drivers efficiently?
Design a ride-sharing location tracking system. 10 million drivers update their GPS location every 5 seconds. How do you store and query nearby drivers efficiently?
Your company needs 99.99% uptime for a critical web application. How do you architect a multi-region active-active setup on AWS?
Your company needs 99.99% uptime for a critical web application. How do you architect a multi-region active-active setup on AWS?
Design a notification system (push/email/SMS) that sends 10 million notifications per day to users across time zones with delivery guarantees.
Design a notification system (push/email/SMS) that sends 10 million notifications per day to users across time zones with delivery guarantees.
Design a URL shortening service (like bit.ly) that handles 1 billion shortened URLs and 100K redirects per second.
Design a URL shortening service (like bit.ly) that handles 1 billion shortened URLs and 100K redirects per second.