基于数据库实现分布式锁基于缓存(redis,memcached,tair)实现分布式锁基于Zookeeper实现分布式锁 转载于:https://www.cnblogs.com/liuqing576598117/p/10600435.html