VIDEO: NYC Tech Talks – Designing for Garbage Collection #jvm #garbagecollection

As server systems expand in complexity, garbage collection – automated memory recovery processing – needs to be constructed elegantly and to operate invisibly. Understanding the impact of garbage collection, both at a single node and a cluster level, is key to developing high-performance, high-availability applications when using a garbage collected language. In this talk – Designing for Garbage Collection – Gregg Donovan of Etsy explores the basics of common garbage collection algorithms, how to monitor your runtime, and how to measure success when tuning GC. At a cluster-level, he reviews how to design for partial availability — how to avoid sending requests to a GCing node and how to be resilient to mid-request GC pauses. He reviews the code Etsy uses to implement its custom ‘Banner’ protocol used to detect GCing JVM nodes at request-time. For application development, he reviews common memory leak scenarios and how to detect them.

Video is below.