DeWu Technology
Apr 8, 2024 · Operations
Analyzing and Optimizing ZooKeeper WatchManager Memory Usage
By replacing ZooKeeper’s default WatchManager hash‑set tables with concurrent maps and bitmap‑based structures, the authors cut watch‑related heap usage from several gigabytes to under 12 MB, lowered lock contention, and achieved 5‑6× latency gains, delivering up to 91 % memory reduction and ten‑fold SLA improvement in production clusters.
JavaPerformance TestingWatchManager
0 likes · 13 min read