Java-Interview-Advanced/docs/distributed-system/highly-concurrent-majorization-distributed-lock.md
2020-04-25 19:55:58 +08:00

3 lines
225 B
Markdown
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

想想自己的分布式锁用在业务系统中有没有高并发问题如果有如何用分段加锁思路来解决或者用kv存储来存放实时库存抗并发直接在kv里扣减避免用分布式锁