Skip to content

ddzrc/distributed-lock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

redis-lock compare to other distributed lock, it has the following advantages

  1. introduce redis PSUBSCRIBE, not need to cycle call redis, to acquire the lock has been unlock
  2. add the local memory lock to decrease redis qps
  3. add AddExpire func, in case task is not finished, and the lock is invalid.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages