This article is part of a tutorial series by Ram Lakshmanan, in which you will learn how to simulate various performance problems. You will learn how to simulate a StackOverflow error, find out how to diagnose it, and most importantly, how to solve the problem.
All Posts by this author
For certain monitoring tools like yCrash, you need to pass your application process ID as input. In this article, Ram Lakshmanan will guide you through how to find your Java application process ID in both Linux/Unix and Windows operating systems – simply follow these steps.
In this chaos engineering tutorial from Ram Lakshmanan, you will learn how to simulate CPU consumption to spike up to 100% on a host (or container). CPU consumption will spike up whenever a thread goes on an infinite loop. Find out how to diagnose a CPU spike.
In this article, learn about the following process states in Unix/Linux: RUNNING & RUNNABLE, INTERRRUPTABLE_SLEEP, UNINTERRRUPTABLE_SLEEP, STOPPED, and ZOMBIE. Find out how to find them, how to kill the SLEEPING process, the ZOMBIE process, and more.
Using the simple Java application Buggy App, you can simulate various performance problems in your environment. This article will examine some use cases, how to download the application, and what common performance problems you can simulate through Buggy App.
What are the Garbage Collection (GC) log, Thread Dump, and Heap Dump in the Java Virtual Machine (JVM)? In this article let us try to understand these 3 critical artifacts, where to use them, how does it look, how to capture them, how to analyze them and their differences.
In this article, Ram Lakshmanan shares a few tips to tune G1 Garbage collector to obtain optimal performance that are simple, yet effective. Tune your application to get optimal performance with these tips, methods, and explanations. G1 has been the default GC algorithm since Java 9.
This article by Ram Lakshmanan examines an example of how to troubleshoot a CPU spike within a major trading application in North America. See what was causing the issue, how it was fixed, and what lessons you can take away.
There are way too many JVM arguments for anyone to digest and comprehend. The grand total might easily be more than 1,000 JVM arguments! In this article, we are highlighting seven important JVM arguments that you may find useful and what their positive impacts are.
In just a few easy steps, this article covers how to install and configure Apache2 web server in Ubuntu 16.04. Simply follow along with these seven steps and plug in your own domain name into website1-example.com and get started.
When troubleshooting a popular SaaS application running on the Azure cloud, slow-down kept occurring intermittently with no noticeable pattern. This article uncovers the findings after troubleshooting and capturing the thread dump with jstack, so that you too will know what to do with an unresponsive application.
Ram Lakshmanan explains how HeapHero differs from other heap dump analysis tools and how your entire organization can easily utilize its features. HeapDump helps analyze large size heap dumps, can be run on the cloud, offers sharing features for team collaboration, and has several more unique capabilities not found in other tools.
What are the uses of jstat and what are its limitations? It is a Java virtual machine tool for monitoring statistics and captures metrics when the JVM is running without any pre-requisite instrumentation. In this article, find out how to launch jstat, what the data it generates means, and what tool you can use to analyze this data.
How much memory are you wasting with duplicate strings? In this article, Ram Lakshmanan goes through a Spring Boot PetClinic application and notes how much memory it wastes. If you can reduce the number of objects that are created to service new incoming requests, your response time will get a lot better.