• [Python-announce] redishilok 1.0 - Redis Hierarchical Distributed Read-Write Locking

    From Erik Aronesty@erik@q32.com to comp.lang.python.announce on Sun Nov 24 08:36:08 2024
    From Newsgroup: comp.lang.python.announce

    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/
    --- Synchronet 3.20a-Linux NewsLink 1.114