Kayleh's Blog

  • Home
  • Archives206
  • About
  • Tags33
  • friends
  • Rss
  • Search
  • Table of Contents
  • Overview
Kayleh

Kayleh

206 posts
5 categories
33 tags
GitHub E-Mail
Creative Commons

缓存一致性方案

Posted on 2021-09-25 Edited on 2025-04-23 Views:

1.延时双删

  • 删除缓存
  • 更新数据库
  • sleep 500ms
  • 删除缓存

2.读取mysql的binlog,订阅数据库更新日志。

  • Post author: Kayleh
  • Post link: https://blog.kayleh.top/posts/cache/
  • Copyright Notice: All articles in this blog are licensed under BY-NC-SA unless stating additionally.
Welcome to my other publishing channels
RSS
sql
分布式锁的实现
布隆过滤器的理论基础及Redisson实现
© 2019 – 2025 Kayleh
0%