November 2017
Intermediate to advanced
398 pages
10h 14m
English
Any application is going to need to use the CPU time of your application server. So there is a high probability of your application getting affected by poor use of the CPU's resources. Moreover, the underlying operating system of your application server controls the CPU scheduling, so you as a developer don't have any control over which process will get priority, and the amount of CPU time and waiting time. In Chapter 9, Multithreading and Reactive Programming, you will learn about specifying thread priorities, but that is more of a request and not a guarantee. Hence, the best strategy would be to look into using less CPU time by optimizing your application code. Before you perform any CPU profiling, lets first understand a ...