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

singleflight本地缓存实例 | 薛定谔の猫 #28

Open
bineyond opened this issue Mar 15, 2020 · 1 comment
Open

singleflight本地缓存实例 | 薛定谔の猫 #28

bineyond opened this issue Mar 15, 2020 · 1 comment

Comments

@bineyond
Copy link
Owner

https://ubin.top/2020/03/15/singleflight%E6%9C%AC%E5%9C%B0%E7%BC%93%E5%AD%98%E5%AE%9E%E4%BE%8B/#more

本地保存商户信息,模拟并发情况下缓存穿透情况,到 DB 获取 MCH 信息。

@bineyond
Copy link
Owner Author

bineyond commented Mar 16, 2020

本地内存 KV存储引擎 可以参考使用 go-cache

Repository owner deleted a comment Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant