Web Apps: Prioritize Low Latency with 70x Higher GC Threshold

For latency-sensitive web applications, increasing `gc.set_threshold`'s first value from the default 700 to 50,000 can drastically reduce frequent garbage collection pauses, observed to improve P95 latency by 80-100ms.

Sources

Open the full topic