Visual TL;DR. Feed Availability Drops leads to FishDB Engine. FishDB Engine leads to Memory Spikes. Memory Spikes leads to Off-CPU Profiling. Off-CPU Profiling leads to HashMap Resize. HashMap Resize triggers Kernel Lock Contention. Kernel Lock Contention causes System Freeze. System Freeze fixed by Pre-allocation Fix.
- Feed Availability Drops: intermittent availability drops on LinkedIn's Feed platform
- FishDB Engine: Rust-based FishDB engine powering the Feed Retrieval platform
- Memory Spikes: elusive issue initially linked to unexpected memory spikes
- Off-CPU Profiling: building the trap using off-CPU profiling tools
- HashMap Resize: a single HashMap resizing event at 58.7 million keys
- Kernel Lock Contention: triggered cascade of kernel-level lock contentions
- System Freeze: freezing the system's entire asynchronous runtime for 15 seconds
- Pre-allocation Fix: pre-allocation of HashMap capacity resolved the issue
Visual TL;DR