分布式锁的实现主要有redis和zookeeper两种方式: (1) redis的实现属于竞争锁实现,zookeeper的实现属于非竞争锁实现; (2) redis锁还是有死锁的可能,zookeeper几乎没有死锁的可能。
-
Notifications
You must be signed in to change notification settings - Fork 0
djyz2020/Distributed-Lock
About
distributed_lock_demo
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published