Sujet : [Python-announce] redishilok 1.0 - Redis Hierarchical Distributed Read-Write Locking
De : erik (at) *nospam* q32.com (Erik Aronesty)
Groupes : comp.lang.python.announceDate : 24. Nov 2024, 17:36:08
Autres entêtes
Message-ID : <CAJowKgJHrzB_qFm=1QSBm4ht1v+pWewmNVKeCGbiegKQiEG0AQ@mail.gmail.com>
Lightweight implementation of a hierarchical distributed read-write lock
using Redis. This implementation supports concurrent readers and exclusive
writers in a tree-like hierarchy, ensuring that locks on ancestors affect
descendants.
Here are some of the key features of this implementation:
* Hierarchical locking with customizable path separators (e.g., /, :).
* Concurrent read locks on the same path or ancestors.
* Exclusive write locks on paths or descendants.
* Timeout and non-blocking lock options.
* Automatic lock refreshing for long-running operations.
https://pypi.org/project/redishilok/