yidao620c / comments

用来存储用户评论
MIT License
1 stars 0 forks source link

SpringBoot系列 - 缓存 | 飞污熊博客 #280

Open yidao620c opened 4 years ago

yidao620c commented 4 years ago

https://www.xncoding.com/2017/07/28/spring/sb-cache.html

内存的速度远远大于硬盘的速度,当我们需要重复获取相同的数据的时候,一次又一次的请求数据库或远程服务, 导致大量时间都消耗在数据库查询或远程方法调用上面,性能下降,这时候就需要使用到缓存技术了。 本文介绍SpringBoot 如何使用redis做缓存,如何对redis缓存进行定制化配置(如key的有效期)以及初始化redis做缓存。 使用具体的代码介绍了@Cacheable,@CacheEvict,

pabhishekabhi commented 4 years ago

Awesome read, keep up the great work! for more Tutorials