Spring Boot's migration from RestTemplate to WebClient enhances performance via concurrency and non-blocking I/O. However, it led to OutOfMemoryError due to insufficient direct buffer memory. By analyzing the application with yCrash and increasing the maximum direct memory size, the issue was resolved, allowing successful image uploads without crashes.
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.
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 →
Spring Boot pet clinic app – performance study
The performance testing of the Spring Pet Clinic application revealed significant insights. Key findings included an overall response time of up to 9.14 seconds, high CPU utilization at 97.90%, and a concerning 61% memory wastage due to inefficient programming. Other issues observed were lack of disk space and spikes in CPU time.
