Search

GC easy – Universal Java GC Log Analyser

Category

Educational – Best Practises

Surviving Covid19 – Effective way to cut-down IT spending

Covid19 pandemic has already put a deep economic dent globally. US stock market has experienced the worst crash since 1987. Sooner or later, Enterprises have to figure out a plan to run their organizations on tight budgets. In this below 10 minute interview, our architect Ram Lakshmanan is sharing an effective way to cut down enterprise IT spending 20 – 30% without doing any lay-offs.

Continue reading “Surviving Covid19 – Effective way to cut-down IT spending”

7 JVM arguments of Highly Effective Applications

At the time (March 2020) of writing this article there are 600+ arguments that you can pass to JVM just around Garbage collection and memory. If you include other aspects, total JVM arguments count will easily cross 1000+. 😊. It’s way too many arguments for anyone to digest and comprehend. In this article, we are highlighting seven important JVM arguments that you may find it useful.

Continue reading “7 JVM arguments of Highly Effective Applications”

Shooting the troubles – Confoo Canada Conference talk (video)


ConFoo.CA Developer Conference
is one of the biggest conferences for web developers, that took place in Canada. This Conference had 155 presentations by popular international speakers focused on pragmatic solutions for developers, enthusiastic attendees and delightful atmosphere!

Continue reading “Shooting the troubles – Confoo Canada Conference talk (video)”

jstat – Analysis

jstat is a simple utility tool, that is present in JDK to provide JVM performance-related statistics like garbage collection, compilation activities. The major strength of jstat is its ability to capture these metrics dynamically when JVM is running without any pre-requisite instrumentation. What do we mean by it? Say for example if you want to capture garbage collection related statistics, you need to pass below arguments before you start the JVM:

Continue reading “jstat – Analysis”

MEMORY WASTED BY SPRING BOOT APPLICATION

One of the widely wasted resources in the world today is: Memory. Due to inefficient programming, surprising (sometimes ‘shocking’) amount of memory is wasted. We see this pattern repeated in several enterprise applications. To prove this case, we conducted a small study. We analyzed the famous spring boot pet clinic application to see how much memory it is wasting. This application has been designed by the community to show how the spring application framework can be used to build simple but powerful database-oriented applications.

Continue reading “MEMORY WASTED BY SPRING BOOT APPLICATION”

TCP: out of memory — consider tuning tcp_mem

Recently we experienced an interesting production problem. This application was running on multiple AWS EC2 instances behind Elastic Load Balancer. The application was running on GNU/Linux OS, Java 8, Tomcat 8 application server. All of sudden one of the application instances became unresponsive. All other application instances were handling the traffic properly. Whenever the HTTP request was sent to this application instance from the browser, we were getting following response to be printed on the browser.

Continue reading “TCP: out of memory — consider tuning tcp_mem”

All you need to know about System.gc()

In this article, we have attempted to answer most common questions around System.gc() API call. We hope it may be of help. Continue reading “All you need to know about System.gc()”

LARGE OR SMALL MEMORY SIZE FOR MY APP?

Should I be running my application with few instances (i.e. machines) with large memory size or a lot of instances with small memory size? Which strategy is optimal? This question might be confronted often. After building applications for 2 decades, after building JVM performance engineering/troubleshooting tools (GCeasy, FastThread, HeapHero), I still don’t know the right answer to this question. At the same time, I believe there is no binary answer to this question as well. In this article, I would like to share my observations and experiences on this topic.

Continue reading “LARGE OR SMALL MEMORY SIZE FOR MY APP?”

OUTOFMEMORYERROR RELATED JVM ARGUMENTS

JVM has provided helpful arguments to deal with OutOfMemoryError. In this article, we would like to highlight those JVM arguments. It might come handy for you when you are troubleshooting OutOfMemoryError. Those JVM arguments are:

Continue reading “OUTOFMEMORYERROR RELATED JVM ARGUMENTS”

Powered by WordPress.com.

Up ↑