In the previous chapter, we dove into the details of multithreading and concurrent programming. We looked at the java.util.concurrent package API. The chapter covered thread pooling for asynchronous programming, Spring task execution, scheduling, and Spring Async API. In the latter part of the chapter, we compared Spring Async with CompletableFuture.
Along similar lines, this chapter will focus on profiling and logging. This chapter starts by defining profiling and logging, and how they are useful for assessing application performance. In the latter part of the chapter, the focus will be on learning about software tools that can be used to study application performance.
The following topics will be covered in this chapter:
- Performance profiling
- Application logging and monitoring
- Profiling tools