डिस्ट्रिब्यूटेड सिस्टम मूल बातें किट
मूल घटक सीखें: अनुमान, यूनिक ID, लचीलापन, की-वैल्यू स्टोर, कैश, लॉक और सहमति, मैसेज क्यू, स्ट्रीम प्रोसेसिंग, CDC और टिकाऊ वर्कफ़्लो।
सीखना
Back-of-Envelope Estimation and Capacity Model Template
पूर्णReference latency and unit tables, assumptions register, QPS, storage, bandwidth, cache, server and cost formulas, worked example, sensitivity, traceability
Jeff Dean latency numbers (LADIS 2009)Distributed Unique ID Generator System Design Template
पूर्णUUIDv4 and v7 per RFC 9562, Snowflake 41/10/12 layout, clock skew and backwards clocks, leased worker IDs, index locality, 53-bit JS limit, ticket servers
RFC 9562 (May 2024)Resilience and Load Shedding Design Template (Retries, Circuit Breakers)
पूर्णFailure model, deadlines, retries with jitter and budgets, circuit breakers, bulkheads, backpressure, criticality-based shedding, degradation, fault tests
Google SRE book ch. 21-22; Amazon Builders' Library
संदर्भ डिज़ाइन
Distributed Key-Value Store System Design Template (Dynamo-Style)
पूर्णConsistent hashing, vnodes, quorums (R+W>N), vector clocks vs LWW, hinted handoff, Merkle anti-entropy, gossip, LSM compaction, cache eviction, hot keys
Dynamo (DeCandia et al., SOSP 2007)Distributed Cache System Design Template
पूर्णDistributed cache: cache-aside, delete on write, leases against herds, commit-log invalidation across regions, slot maps, hot keys, gutter pool, warm-up
Distributed Lock and Coordination System Design Template
पूर्णLock and coordination service: Raft consensus, read index, sessions and keep-alives, leader election, fencing tokens, watches, read scaling, misuse policy
Distributed Message Queue System Design Template (Kafka-Style Log)
पूर्णPartitions, log segments, retention, acks and idempotence, consumer groups, offsets, delivery semantics, ordering, ISR replication, backpressure, DLQ, schemas
Apache Kafka 4.3 documentation; Kafka paper (NetDB 2011)Stream Processing Engine System Design Template
पूर्णStream processing engine: event time, watermarks, windows and triggers, late data, keyed state, barrier checkpoints, exactly-once sinks, backpressure, rescaling
CDC Pipeline System Design Template
पूर्णCDC pipeline: log-based capture, watermark chunked snapshot, per-key order, schema evolution, outbox, search, cache and warehouse sinks, replay
Workflow Orchestration Engine System Design Template
पूर्णDurable workflow engine design: event history and replay, deterministic code, activities, timers, task queues, retries, versioning, visibility, history sharding