Garbage Collection Optimization for High-Throughput and Low-Latency Java Applications

This article was written by Swapnik Ghike, Software Engineer LinkedIn and posted at the LinkedIn Engineering Blog. 

High-performance applications form the backbone of the modern web. At LinkedIn, a number of internal high-throughput services cater to thousands of user requests per second. For optimal user experience, it is very important to serve these rlinkedin_logoequests with low latency.

For example, a product our members use regularly is the Feed – a constantly updating list of professional activities and content. Examples of various feeds across LinkedIn include those in company pages, school pages, and most importantly – the homepage feed. The underlying feed data platform that indexes these updates from various entities in our economic graph (members, companies, groups, etc.) has to serve relevant updates with high throughput and low latency.

For taking these types of high-throughput, low-latency Java applications to production, developers have to ensure consistent performance at every stage of the application development cycle. Determining optimal Garbage Collection (GC) settings is critical to achieve these metrics.

Please Click Here to read rest of the post.

“LinkedIn” including the LinkedIn logo is covered by copyright and owned by LinkedIn US (

Related Posts

  • Are You Really Out Of MemoryAre You Really Out Of Memory Introduction - So it's just another day at work. You start your day by receiving another call from the operations team saying they now have to restart your production application every three to four hours just to keep it humming along. And boy, doesn't this really annoy them. You have a […]
  • Java Performance Optimization Series – Eva Andreasson at JavaworldJava Performance Optimization Series – Eva Andreasson at Javaworld This series of articles will help any Performance Engineer or Java developer learn more about the underlying layers of the JVM and what a JVM really does under the hood. The author Eva Andreasson (at talks at a high level about the key components of a Java Virtual Machine […]
  • Are You Really Out Of Memory – Part IIAre You Really Out Of Memory – Part II In this series of articles Nikita Salnikov-Tarnovski (LinkedIn), the co-founder of Plumbr discusses the performance and stability issues in Enterprise Java applications due to memory leaks. Nikita goes on to talk about various approaches to identifying memory leaks through the use of […]
  • Top 10 Causes of Java EE Enterprise Performance ProblemsTop 10 Causes of Java EE Enterprise Performance Problems Performance problems are one of the biggest challenges to expect when designing and implementing Java EE related technologies. Some of these common problems can be faced when implementing either lightweight or large IT environments; which typically include several distributed systems […]