Cruising to Savings: Uber’s Roadmap to Efficient Go Garbage Collection

Uber successfully saved 70,000 cores across 30 critical services by optimizing Go's Garbage Collection (GC) through a semi-automated tuning mechanism. This effort resulted in significant CPU utilization improvements, notably 65% in observability services and 30% in Uber Eats. GC tuning is essential for efficient resource management and application performance.

Java CMS GC Tuning

The Java Concurrent Mark & Sweep (CMS) algorithm provides low-latency garbage collection, effective for applications with dynamic memory needs. Although deprecated in JDK 9 and removed in JDK 14, it can still be utilized in earlier versions. This post discusses tuning techniques, advanced options, and performance analysis for optimal results.

“I don’t have to worry about Garbage collection” – Is it true?

Garbage Collection (GC) is automatic in modern platforms but requires attention due to its impact on customer experience and costs. GC pauses can disrupt transactions, leading to user dissatisfaction and significant financial losses. Optimizing GC performance enhances application responsiveness and reveals crucial metrics for predictive monitoring and effective capacity planning, offering substantial improvements without code changes.

Up ↑