Java-Interview-Advanced/docs/distributed-system/highly-concurrent-majorizat...

3 lines
225 B
Markdown
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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