1. Spring local cache [Spring 本地缓存] Spring provided cacheable annotation since 3.1. It's very super convinient to use and can obviously boost application performance. 从3.1版本开始,Spring提供了cacheable注解.它使用起来非常方便,还可以很明显的提升应用性能.具体的,怎么使用呢? First, create a…
接上一篇: A comparison of local caches (1) [本地缓存之比较 (1)] This article will compare the asynchronous local caches. Currently Spring @Cacheable doesn't support async cache by default (we can use some tricks to achieve the goal though). Guava and Caffiene s…