O'Reilly logo

Java EE 7 Performance Tuning and Optimization by Osama Oransa

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Dissecting performance aspects of data caching

Data caching is an important performance improvement element in any enterprise application. We have discussed data caching issues in Chapter 5, Recognizing Common Performance Issues. In this section, we will continue our discussion about data caching.

Data caching versus no caching

This is the first question that we need to answer; the answer is not difficult and is mostly related to the nature of the data. In most cases, we can do caching for every type of data. However, in real-time data or data that has a short lifespan (rapidly changeable), caching seems to be a wrong decision as it allows the access of a stale version of the data or it slows down the application performance because it increases ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required