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.
All Posts by this author
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.
Take a tour of ycrash in this article by Ram Lakshmanan. ycrash helps capture critical artifacts, including garbage collection logs, thread dumps, core dumps, heap dumps, disk usage, and more when the problem happens. It applies machine learning algorithms and generates a report which gives you a complete view of the problem, down to the lines of code that caused it.
When it comes to load balancing, round robin may not be the best algorithm to choose from. If auto-scaling is instrumented, it is even worse. In this article, see a simple example explaining why this is so, how the round robin algorithm works, and which load balancing algorithm you should potentially pick instead for even traffic distribution.