摘要: 缓存设计模式 缓存热点数据, 缩短调用链 旁路缓存 适用于强一致性 写请求 -> 更新DB, 并删除cache 读请求 -> 先查cache, miss后再查DB并写回 @Service public class UserService{ @Autowired private UserDAO use 阅读全文
posted @ 2022-09-11 01:08 Blazer96 阅读(61) 评论(0) 推荐(0)