Systems · Week 5
Week 5: Orders, events, and LSM
Multi-tier orders, ingestion, LSM flushes, distributed IDs, hot shards.
Week 5: Orders, events, and LSM
Multi-tier orders, ingestion, LSM flushes, distributed IDs, hot shards.
Outcomes
- Explain the failure drill for each lesson in this week without notes.
- Complete linked labs where present and keep a short metric log.
- Tag each system with the pattern cards you actually used.
- Event ingestion Durable intake, dedupe, and fan-out without losing or double-counting events.
- LSM ground up Memtable → immutable flush → SSTables and why compaction exists.
- Multi-tier order flows Checkout across inventory, payment, and fulfillment without dual-write lies.
- Distributed IDs Unique IDs without a single hot allocator — tradeoffs in time, shard, and randomness.
- Hot shards Detecting and splitting load when one partition owns the storm.