sherlock icon indicating copy to clipboard operation
sherlock copied to clipboard

Easy distributed locks for Python with a choice of backends.

Results 32 sherlock issues
Sort by recently updated
recently updated
newest added

I want to install sherlock but I'll not use memcache as my backend, I'll use redis exclusively. I wish there was a way to select our backends like in celery....

enhancement

Sherlock 0.3.2 from pypi and Python 3.6. ``` File "/usr/local/lib/python3.6/site-packages/sherlock/lock.py", line 171, in acquire if self._acquire() is not True: File "/usr/local/lib/python3.6/site-packages/sherlock/lock.py", line 429, in _acquire expire]) != 1: File "/usr/local/lib/python3.6/site-packages/redis/client.py",...

Hi, I want to use sherlock in a distributed system. I'd like to have multi master setup because if lock server (memcached, redis, etcd) goes down, all system goes down....

When using redis cluster, `keys` in lua script should be in the same slot. In current implementation, u use `KEYS` for `lock_name`, `owner`, `expire`. In most cases, they are not...

* /dev/urandom What else? https://redis.io/topics/distlock

Hi, why not using the process PID as `Lock._owner` ? It can be useful to use that values to check if the process that acquired the lock is still running.

Can you write up a summary detailing how you deal with clients that disconnect? For example, Zookeeper provides ephemeral files that disappear when the client crashes. However, this can also...

For long running tasks gated by a lock, there needs to be a way to renew the lock.

Hi there and thanks for using pyup.io! Since you are using a non-default config I've created one for you. There are a lot of things you can configure on top...