Are there existing Java caching facades?

I am ready to start work on performance in the application, which will eventually be launched, but is currently under development [greenfield].

I would like to be able to enter caching without selecting or commenting on a specific library, so I wonder if there is already an existing cache packing library (similar to slf4j for logging) that will allow me to make this decision at a later date.

+6
source share
3 answers

There is also a Java standard: JSR 107: JCACHE - The Java Temporary Caching API . Quite a lot of the dead, but there was some movement six months ago. There are also quite a few in the original repository . EhCache supports this JSR natively .

If you use Spring, it has excellent abstraction caching .

+3
source

If you use Spring, it has a cache abstraction .

Take a look at the blog post here that introduced me to the concept.

+1
source

One popular cache implementation is EhCache. You can also take a look at the Terracotta keroscope (terracota has many subprojects - see Cache).

0
source

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


All Articles