The Spring Boot Buggy API offers a valuable platform to simulate various performance issues in your applications. By intentionally creating problems like DB connection leaks, memory leaks, CPU spikes, and more, you can assess your system's resilience and evaluate the effectiveness of performance tools. Fig 1: SpringBoot Buggy API - Performance Issue Simulator Buggy Api... Continue Reading →
Chaos Engineering – File Connection Leak
Many Java applications still use files for importing and exporting data. If the connections to these files are not properly managed, it can lead to a significant number of connections leaking, causing the application to slow down or even crash. In our series of chaos engineering articles, we have been learning how to simulate various... Continue Reading →
Java SpringBoot – Performance Analysis and Tuning
SpringBoot is a widely used framework for building Java-based web applications and maintains a significant presence in the world of enterprise software development. It powers large-scale microservices and standalone applications. Most SpringBoot applications have embedded web servers and follow a distributed architecture consisting of three main types of application components: Backend: API services Backend: Event... Continue Reading →
Diagnose CPU spike in a non-intrusive manner!
In this post, we are going to discuss a non-intrusive approach (i.e., approach that doesn’t add any noticeable overhead to the application) to diagnose CPU spike. Thus, you can use this approach in your production environment to troubleshoot CPU spikes. Works on all JVM languages: This approach can be used to troubleshoot CPU spikes in... Continue Reading →
Simulating & troubleshooting CPU spike in Scala
In this series of simulating and troubleshooting performance problems in Scala articles, let’s discuss how to simulate CPU consumption to spike up to 100% on a host (or container) and troubleshoot it. Scala sample program CPU consumption will spike up whenever a thread goes on an infinite loop. Here is a sample Scala program, which... Continue Reading →
Let’s crash our applications! – JAX London
Every year in October, JAX London is the go-to event for Java and Software Architecture enthusiasts! It is a four-day conference for cutting-edge software engineers and enterprise-level professionals. In this 2022 year's Jax London conference, our architect Ram Lakshmanan was invited to talk on the topic: "Let's crash your applications". In this talk, Ram discussed... Continue Reading →
Simulating & troubleshooting CPU spike in Kotlin
In this series of simulating and troubleshooting performance problems in Kotlin articles, let’s discuss 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. Kotlin CPU Spike Program Here is a sample kotlin program, which generates the... Continue Reading →
Let’s crash the applications! – W-JAX 2021
JAX – Online conference is the meeting place for all Java and software architecture enthusiasts! This year also, they have conducted an online conference to exchange knowledge and ideas from speakers all over the world. They have invited our architect to present the topic “Let's crash the applications!”. In this session, sample code snippets that... Continue Reading →