Troubleshooting Java Spring Boot Deadlock

Spring Boot is a popular framework for developing Java web applications that often encounter thread deadlocks, halting performance. This blog discusses deadlock causes, examples, and troubleshooting techniques using the yCrash tool. Solutions include timeout locks, utilizing concurrency utilities, and avoiding nested locks to mitigate deadlock issues effectively.

Spring Boot Buggy APIs – Simulate performance problems

The Spring Boot Buggy API is an open-source tool for simulating various performance issues like memory leaks and CPU spikes in applications. By testing these scenarios, developers can assess system resilience and evaluate performance monitoring tools. It allows easy invocation of specific problems to analyze system behavior and improve software robustness.

Chaos Engineering – DB Connection Leak

All modern applications connect with storage, such as a database or cache. Database connection leak is commonly observed in modern applications, which can result in connection leaks that can lead to production outages. In our series of chaos engineering articles, we have been learning how to simulate various performance problems. In this post, let's discuss... 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 →

Chaos Engineering – Stackoverflow Error

This article discusses how to simulate and diagnose StackOverflow errors in Java. It introduces a sample program that triggers a StackOverflowError due to infinite recursion in the start() method of the StackOverflowDemo class. Both manual and automated approaches for diagnosing the error are outlined, highlighting the effectiveness of the yCrash tool for root cause analysis.

Up ↑