Show HN: IdleGC – Idle-time garbage collection for Crystal (Reduce memory usage)
github.com
github.com
I've been using IdleGC in production on my previous Show HN project https://news.ycombinator.com/item?id=32081943 and it helps keeps memory usage low and consistent, which allows me to set tight Pod memory requests and limits and get more replicas running for higher concurrency on a single inexpensive Kubernetes node.
I know Chrome does "Idle Time Garbage Collection Scheduling" for V8 JavaScript [1]. Are there other systems, especially backends, that detect/guess when the system is idle, and do GC at that time?
[1] https://static.googleusercontent.com/media/research.google.c...