Open jitwxs opened 4 years ago
https://www.jitwxs.cn/126e3eed.html#4-2-Get-Exception
一、前言 在项目开发中,为提升系统性能,减少 IO 开销,本地缓存是必不可少的。最常见的本地缓存是 Guava 和 Caffeine,在 《详解 Guava Cache》中已经为大家介绍了 Guava,本篇文章将为大家介绍 Caffeine。 Caffeine 是基于 Google Guava Cache 设计经...
guava也支持异步cache,只需要将默认的同步替换一个线程池就行了
https://www.jitwxs.cn/126e3eed.html#4-2-Get-Exception
一、前言 在项目开发中,为提升系统性能,减少 IO 开销,本地缓存是必不可少的。最常见的本地缓存是 Guava 和 Caffeine,在 《详解 Guava Cache》中已经为大家介绍了 Guava,本篇文章将为大家介绍 Caffeine。 Caffeine 是基于 Google Guava Cache 设计经...