Sharding and Hot-Key Mitigation

16 प्रश्न

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

    विज्ञापन क्लिक एग्रीगेटर डिज़ाइन करें। इसमें 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...

    मुफ़्त गाइड
  • Chat Service

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

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

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

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

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

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

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

    प्रीव्यू
  • 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,...

    मुफ़्त गाइड
  • लघु लिंक सेवा

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

    मुफ़्त गाइड
  • दर सीमा नियंत्रक

    एक 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 के...

    प्रीव्यू