Distributed Lock introduction and usage

achieve:

1. database implementation, database tables using the unique index

2.Redis distributed lock, using the unique attributes of redis key

3.Zookeeper achieved using Node node uniqueness

Guess you like

Origin www.cnblogs.com/kobe-lin/p/11682036.html