Tuesday, 4 August 2020

Is there a way to hook into garbage collection before it happens?

The idea is, we see spikes of 503 when a webserver enters GC and stops handling requests. So if we could know this is happening before hand, we could deregister this node from the load balancer and let it do its GC, this way the process can safely reclaim memory without disturbing user requests.Does anything like this exist?

Submitted August 04, 2020 at 06:55PM by shivawu

No comments:

Post a Comment