Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 301 Bytes

README.md

File metadata and controls

10 lines (6 loc) · 301 Bytes

distributed_lock

Distributed lock: Implement using mysql and zookeeper

mysql_lock.py: Mysql distributed lock
zk_lock.py: zookeeper distributed lock (Need python module 'kazoo')

test_mysql_lock.py: Test Mysql distributed lock
test_zookeeper_lock.py: Test zookeeper distributed lock