O'Reilly logo

Seam Framework: Experience the Evolution of Java™ EE, Second Edition by Thomas Heute, Jacob Orshalick, Michael Juntao Yuan

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

32 Improving Scalability with Multilayered Caching

In most enterprise applications, the database must be shared across application instances in a clustered environment and even across completely different applications. This often leads to the database being the primary performance bottleneck. Performance can also be hindered by expensive calculations that are often repeated. We can help to relieve both of these constraints through caching. Caching is simply storing some temporary data in a way that is inexpensive to access. This temporary data may duplicate data elsewhere, in the case of data access caching, or store the result of some expensive calculation.

As you will note in our definition, applications can benefit from caching ...

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