Caching, partitioning & hot-path scale

26 प्रश्न

  • विज्ञापन क्लिक एग्रीगेटर

    विज्ञापन क्लिक एग्रीगेटर डिज़ाइन करें। इसमें High-throughput ingestion of K-M clicks/sec via a log/stream (Kafka) before aggregation, Exactly-once vs at-least-once delivery and idempotent aggregation...

    मुफ़्त गाइड
  • AI एजेंट सिस्टम

    एक production AI agent application platform डिज़ाइन करें जो user goals स्वीकार करे, context और memory संभाले, tools को सुरक्षित रूप से call करे, ज़रूरत पड़ने पर human review के लिए रुके, और traces व...

    प्रीव्यू
  • Chat Service

    करोड़ों concurrent users के लिए एक chat product के पीछे का backend infrastructure design करें — stateful connection servers, message storage, और group fan-out। ध्यान infrastructure पर रहे: connection...

    प्रीव्यू
  • Coupons and Deals Platform

    एक coupons and deals platform design करें जहाँ users deals की एक बड़ी, अक्सर बदलती catalog को browse और search करते हैं, और हर limit में coupon code ठीक एक बार redeem करते हैं, बिना कभी stale prices...

    प्रीव्यू
  • Donation Platform

    GoFundMe जैसा एक donation platform डिज़ाइन करें — कोई campaign रातोंरात viral हो सकता है और छोटे-छोटे दान का भारी spike आ सकता है, और हर एक डॉलर capture होना चाहिए, refundable होना चाहिए, और एक सटीक...

    प्रीव्यू
  • Facebook Post Search

    एक social feed पर search डिज़ाइन करें — users को keyword से posts लगभग real time में ढूँढने दें, साथ ही हर post की privacy/visibility settings का सम्मान करते हुए।

    प्रीव्यू
  • Flash Sale

    एक flash sale सिस्टम डिज़ाइन करें जहाँ किसी hot item की सीमित मात्रा एक निश्चित क्षण पर बिक्री के लिए आती है और कुछ ही सेकंड में 1000x traffic spike झेलती है — inventory कभी oversell नहीं होनी चाहिए,...

    प्रीव्यू
  • गेम लीडरबोर्ड

    लाखों खिलाड़ियों को उनके score के हिसाब से real-time में rank करने वाला एक game leaderboard design करें — जो regional और time-windowed boards को support करे, और top-N तथा किसी भी player की rank दोनों...

    प्रीव्यू
  • Hotel Reservation (Booking.com)

    Booking.com design करें — एक hotel marketplace जो हज़ारों स्वतंत्र supplier hotels से live availability और pricing aggregate करता है, जहाँ search results तेज़ रहने चाहिए भले ही underlying inventory न...

    प्रीव्यू
  • Metric Monitoring and Alerting

    एक monitoring platform के पीछे की metrics pipeline डिज़ाइन करें — हज़ारों hosts पर चल रहे SDK से numeric measurements निकलने से लेकर, streaming pre-aggregation से होते हुए, एक durable time-series...

    प्रीव्यू
  • Ticketmaster (General Admission)

    general admission वाले events के लिए Ticketmaster design करें — कोई seat map नहीं है, हर ticket tier के लिए बस एक fixed capacity count है, और system को उस भीषण flash-sale contention में सही-सही...

    प्रीव्यू
  • टिकटिंग सिस्टम

    टिकटिंग सिस्टम डिज़ाइन करें। इसमें Seat inventory model and seat-map representation for a venue/event, including seat status transitions, Reservation hold with TTL: reserve then confirm two-phase...

    मुफ़्त गाइड
  • Top K Songs (Spotify)

    Top K Songs (Spotify) डिज़ाइन करें। इसमें Framing top-K as a heavy-hitters/frequency-estimation problem over a play-count stream, Count-Min Sketch + heap (bounded error, memory trade-off) vs exact...

    मुफ़्त गाइड
  • Uber (Ride Hailing)

    Uber (Ride Hailing) डिज़ाइन करें। इसमें Geospatial indexing trade-off: geohash vs quadtree vs S2/H3 cells for storing and querying driver locations, High-frequency driver location ingestion: update...

    मुफ़्त गाइड
  • वेब क्रॉलर

    वेब क्रॉलर डिज़ाइन करें। इसमें URL frontier design: priority queues for scheduling and re-crawl ordering, Politeness: robots.txt compliance and per-domain rate limiting to avoid hammering one host,...

    मुफ़्त गाइड
  • Yelp

    Yelp डिज़ाइन करें — एक local business search और review platform जो आस-पास के, filter किए जा सकने वाले business results को relevance और rating के हिसाब से rank करके लौटाता है।

    प्रीव्यू
  • लघु लिंक सेवा

    10 करोड़ daily active users के लिए एक scalable URL shortener डिज़ाइन करें। redirects, custom aliases, analytics, caching, और consistency trade-offs को कवर करें।

    मुफ़्त गाइड
  • LLM inference gateway

    एक LLM inference gateway design कीजिए जो internal product teams और कई model providers/backends के बीच बैठता है, और company scale पर routing, streaming, quotas तथा safety controls संभालता है।

    मुफ़्त गाइड
  • AI training cluster

    कई टीमों द्वारा साझा किए गए एक बड़े GPU/TPU training cluster के लिए scheduler डिज़ाइन करें, जहाँ टीमें distributed training jobs चला रही हैं; इसे gang scheduling (पूरे समूह को एक साथ schedule करना),...

    प्रीव्यू
  • दर सीमा नियंत्रक

    एक public API platform के लिए distributed API rate limiter डिज़ाइन कीजिए। token bucket, per-user limits, shared counters, hot keys और failure modes को कवर कीजिए।

    प्रीव्यू
  • Vector Database

    एक vector database के storage और query engine को design कीजिए जो approximate nearest-neighbor search के लिए अरबों embeddings को index करता है। इसमें ANN index design (HNSW graph construction,...

    प्रीव्यू
  • Distributed Key-Value Store

    एक Dynamo-शैली का highly available key-value store डिज़ाइन करें: consistent hashing से keys को nodes पर बाँटें, हर key को N nodes पर replicate करें, और हर operation को quorum reads और writes (R + W >...

    प्रीव्यू
  • Distributed Cache

    Redis/Memcached स्केल की एक distributed in-memory cache service डिज़ाइन करें जो p99 5ms से नीचे रखते हुए लगभग 1M QPS संभाले। इसमें sharding के लिए consistent hashing, replication और failover,...

    प्रीव्यू
  • Distributed Message Queue

    एक Kafka-शैली का durable, partitioned log broker डिज़ाइन करें जो high-throughput event streams को ingest करे। parallelism के लिए partitioning, in-sync replicas वाली replication, consumer groups और...

    प्रीव्यू
  • Food Delivery Marketplace

    उपभोक्ताओं, Dashers और merchants को जोड़ने वाली एक DoorDash-शैली की food delivery marketplace डिज़ाइन करें। order lifecycle, courier dispatch और batching, live location tracking, ETA prediction,...

    प्रीव्यू
  • Live Comments

    एक live comments सिस्टम डिज़ाइन करें जो एक ही live event के comments को real time में लाखों concurrent viewers तक fan out करे। pub/sub fan-out, hot-partition और celebrity केस, backpressure, flood के...

    प्रीव्यू