When to use Hibernate caching (second level)?

This is a basic question about Hibernate Caching, but I have to be sure before going forward. I used caching querybefore in small projects, but now I am involved in a large project, so this:

In really large (national) projects, what are your suggestions on when to use querycaching in sleep mode?

Note: * Platform - Struts2, Spring3, Hibernate, Java6 WAS6 *

+3
source share
3 answers

I suppose you mean a second level cache, that is, a cache that spans more than one Hibernate session.

, , , .

, , . (, ). , .

TPS , . , ( ), , .

, 100% () .

. :

Hibernate.

+1

, db r, , db . .

+1

- . , , , , / .

, , , . , . , , .

+1

Source: https://habr.com/ru/post/1796387/


All Articles