X Tutup
The Wayback Machine - https://web.archive.org/web/20210207134408/https://github.com/Snailclimb/JavaGuide/issues/1073
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JavaGuide中面试/工作必备!3种常用的缓存读写策略中的错误 #1073

Closed
JasonLe opened this issue Jan 30, 2021 · 1 comment
Closed
Labels
bug

Comments

@JasonLe
Copy link

@JasonLe JasonLe commented Jan 30, 2021

在面试/工作必备!3种常用的缓存读写策略中,Read/Write Through Pattern(读写穿透)的第一张图片有错误,应该是cache 中存在,则先更新 cache,然后 cache 服务自己更新 DB(同步更新 cache 和 DB),而图片第2步文字是cache 中存在,则先更新 DB

@Snailclimb
Copy link
Owner

@Snailclimb Snailclimb commented Feb 1, 2021

在面试/工作必备!3种常用的缓存读写策略中,Read/Write Through Pattern(读写穿透)的第一张图片有错误,应该是cache 中存在,则先更新 cache,然后 cache 服务自己更新 DB(同步更新 cache 和 DB),而图片第2步文字是cache 中存在,则先更新 DB

是的!感谢指出!👍

@Snailclimb Snailclimb closed this Feb 1, 2021
@Snailclimb Snailclimb added the bug label Feb 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
X Tutup