Pregunta

Me estoy preparando para comenzar a trabajar en el rendimiento en una aplicación que eventualmente se ejecutará distribuida, pero actualmente está en el desarrollo [Greenfield].

Me gustaría poder introducir el almacenamiento en caché sin seleccionar ni comprometerme con una biblioteca específica, por lo que me pregunto si hay una biblioteca de fachadas en caché (análogo a SLF4J para el registro) ya existiendo que me permitirá haceresa decisión en una fecha posterior.

¿Fue útil?

Solución

There is also a Java standard: JSR 107: JCACHE - Java Temporary Caching API. Pretty much dead, but there was some movement half year ago. Also there is quite a lot happens in the source repository. EhCache supports this JSR natively.

If you are using Spring, it has a great caching abstraction.

Otros consejos

If you are using Spring it has a cache abstraction.

Have a look at the blog entry here too which introduced me to the concept.

One of the popular cache implementations is EhCache. You can also take a look on Terracotta cache (terracota has a lot of sub-projects - see the cache).

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top