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

秒杀系统 #153

Open
TieMuZhen opened this issue Apr 5, 2022 · 0 comments
Open

秒杀系统 #153

TieMuZhen opened this issue Apr 5, 2022 · 0 comments
Labels

Comments

@TieMuZhen
Copy link
Owner

image

要从并发角度考虑问题,而且还是有线程失败的特殊情况下会发生的角度!!!

image

redis前面再加一层缓存判断

image
image
image
image

使用zookeeper设置全局变量解决上面问题

image

@TieMuZhen TieMuZhen added the Redis label Apr 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant