Finding Bottlenecks and Optimizing Your Application
Finding what makes your application perform below your expectations can be difficult if you don’t follow a systematic approach. When optimizing an application, it’s important to focus your efforts on facts, not guesses. For that reason, in this chapter, we’ll leverage the tools and learnings from Chapter 3, and we’ll tackle some common challenges by analyzing the footprints of the changes applied.
In this chapter, you will learn how to use observability tools to find the bottlenecks of your application and apply some common techniques of application optimization, such as caching and runtime tuning. You will also learn how to improve your application’s startup time and resource consumption by using native applications, which have been supported since Spring Boot 3’s release.
We’ll run some load tests to apply stress to our application, and we’ll learn how to analyze the...