Docker Sandboxes · Tier 3: Reliability & Messaging · Lab 40
Kafka Hot-Key Partition Skew & Salting Mitigation
One merchant has a flash sale and sends 900 of 1,200 orders with the same key. Measure the real partition sizes, check them against a local copy of Kafka's hash, then try salting the key and see what it fixes and what it costs.
Time 25 minutes
Stack Python 3Ports 19094, 18092
Memory About 1 GB
Before this Lab 36 Kafka Fundamentals in KRaft Mode
Verified run Windows, Mac, Linux Bash and PowerShell
PRO PASS REQUIRED
Docker Sandboxes & Failure Labs
This hands-on Docker sandbox with terminal benchmarks and failure simulation is part of the System Design & 75 Labs pass.
Full Lab Code: Docker Compose, benchmark scripts, and failure injection triggers.
Terminal Benchmarks: Complete reproduction logs and step-by-step verification commands.
Deep Architectural Analysis: Consequence-driven breakdown and root cause mitigations.
Downloadable Zip: Standalone environment you can run on your own machine.
₹499
/ 30 days full access