Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

BOFH excuse #370: Virus due to computers having unsafe sex.


comp / comp.lang.python.announce / [Python-announce] redishilok 1.0 - Redis Hierarchical Distributed Read-Write Locking

SubjectAuthor
o [Python-announce] redishilok 1.0 - Redis Hierarchical Distributed Read-Write LocErik Aronesty

1
Subject: [Python-announce] redishilok 1.0 - Redis Hierarchical Distributed Read-Write Locking
From: Erik Aronesty
Newsgroups: comp.lang.python.announce
Date: Sun, 24 Nov 2024 16:36 UTC
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: erik@q32.com (Erik Aronesty)
Newsgroups: comp.lang.python.announce
Subject: [Python-announce] redishilok 1.0 - Redis Hierarchical Distributed Read-Write Locking
Date: Sun, 24 Nov 2024 08:36:08 -0800
Lines: 11
Approved: python-announce-list@python.org
Message-ID: <CAJowKgJHrzB_qFm=1QSBm4ht1v+pWewmNVKeCGbiegKQiEG0AQ@mail.gmail.com>
Reply-To: python-list@python.org
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: base64
X-Trace: news.uni-berlin.de FVBJc/YQF4x+wAgIrECfoQuWRgqFxsLRo0FY/IO/OfQA==
Cancel-Lock: sha1:XjycTrx51bf+UviNaV7csvpiVCI= sha256:ACUgg/tpmNqTYI1URTZpetEe7B7mpdyDwNTEfHmqVlE=
Delivered-To: python-announce-list@x.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail-com.20230601.gappssmtp.com header.i=@gmail-com.20230601.gappssmtp.com
header.b=sDvOfhd3; dkim-adsp=none (unprotected policy);
dkim-atps=neutral
X-Spam-Status: UNSURE 0.248
X-Spam-Level: **
X-Spam-Evidence: '*H*': 0.57; '*S*': 0.06; 'concurrent': 0.09;
'timeout': 0.09; 'to:addr:python-announce-list': 0.09; 'ensuring':
0.16; 'locks': 0.16; 'long-running': 0.16; 'paths': 0.16;
'subject:1.0': 0.16; 'url:project': 0.16; 'url:pypi': 0.16;
'message-id:@mail.gmail.com': 0.31; 'path': 0.33;
'received:google.com': 0.34; 'same': 0.34; 'automatic': 0.35;
'using': 0.37; 'url-ip:151.101.0.223/32': 0.38; 'url-
ip:151.101.128.223/32': 0.38; 'url-ip:151.101.192.223/32': 0.38;
'url-ip:151.101.64.223/32': 0.38; 'read': 0.38; 'distributed':
0.39; 'here': 0.63; 'key': 0.64; 'lock': 0.64; 'operations.':
0.64; 'readers': 0.69; 'writers': 0.69; 'exclusive': 0.71;
'features': 0.75; '(e.g.,': 0.76; 'lightweight': 0.84; 'locking':
0.84; 'refreshing': 0.84; 'subject:Read': 0.84; 'affect': 0.91
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail-com.20230601.gappssmtp.com; s=20230601; t=1732466179; x=1733070979; darn=python.org;
h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
:date:message-id:reply-to;
bh=u0O/MjNSgBnhqo6kB5onTUONysZSNRY1gh4fQ5bo97U=;
b=sDvOfhd3wo4Uwu1RDBD/1Egd7Zgglihshm2yvMLEk8NoN0ahHKMbfmf9ZpJxPPgPyF
wDcMQOrxqk+/Y8/4Z/+Hbb+cbhSt1RkqjMKna3XyNN8dFyU0YuQ3riWCajwwU79Anciz
F0LK6CFTcTbIJTSHGmt1JMukpzgf94qeA2ArI8wIEanPE/M4KHvWnKExDc/1jcbcJM8j
hErXn3OJwmFh+V4kZszEFDItkw9bfe4U5tGdgGEaCw1lfnL3E2OHG/e5sBUvUN8vTCZC
ruOQQxgf3vu/odYXrLDGa8hB3yk4jrEUBFTHeei9NYFXoNClQyjNrRWmRQL2/0ZofArr
FuDg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1732466179; x=1733070979;
h=to:subject:message-id:date:from:mime-version:x-gm-message-state
:from:to:cc:subject:date:message-id:reply-to;
bh=u0O/MjNSgBnhqo6kB5onTUONysZSNRY1gh4fQ5bo97U=;
b=fqBdqy4UiSlUsycW+wUWYuDsX4JJBmRNZQL1auJbkTUeFGXv4KSDJJq8SxCieDR4Bu
dIrIvxRH84pUeeiAvPv/55rLRkQ/0mq8kI13BhozDCLdmLnnkjmXEeqDmke6NlMqo19e
O+XEQ4B6nI9bzqLtA6rFlAgscon+trOl5A//D3uh2O82B4rlY9VEzU5FBwubfssTiyVz
5BWnHev1YJzCiv+qTRac7Gdf+JnxLjkJG+Fqj/hmQ0nUbYb7I1y/x1yXf/q5Jk19z24m
DPRvIy7f1xCcJ77is3WjbnZMaZqCZmrG5KU8AvSGGlCWmBtMPSLBob0wSDFiv1daZriZ
L4+g==
X-Gm-Message-State: AOJu0YzmDMHHv56Z9Qv9WsmqpQI4ONu2FXnk6ga/EItVav0Y1MDfydNR
kdF+pk5EHjUDD+Rlog/UgK1U8f2SnNDPZQej9qX0b7quXJCvkz9BpUn/ue0mrwYebGs+p8Xc5PP
h8kmwUen5leUw3sTd2DLXf//E0lLcB9gSYUvO
X-Gm-Gg: ASbGncsx3kk0TGTjlHaUkduxHQXMgHOmBGCC9hFTTr8oRTzc7uyT9KkwCHUWYdJUqnM
E4eRVtEqzBSwZM4gL9qVIlozI+tcBZ44rgpx+Np5YnTicpEKU8V5wuydtwDavW3SSln2+XA==
X-Google-Smtp-Source: AGHT+IGxWojk/80IK1LefiyESdBZGbV/3C4JS5djCaDBKNOtX+gN2F269b5GHbcr8LeX9RksUf3cjXkkR1IyOIYZOEY=
X-Received: by 2002:a05:6902:2308:b0:e38:923b:7e55 with SMTP id
3f1490d57ef6-e38f8b0aca1mr8724674276.12.1732466179504; Sun, 24 Nov 2024
08:36:19 -0800 (PST)
X-MailFrom: earonesty@gmail.com
X-Mailman-Rule-Hits: emergency
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-python-announce-list.python.org-0; header-match-python-announce-list.python.org-1; header-match-python-announce-list.python.org-2; header-match-python-announce-list.python.org-3; header-match-python-announce-list.python.org-4
Message-ID-Hash: AGNTJ7HGD4BP7A3PXVC7MIN4MVJ63X3L
X-Message-ID-Hash: AGNTJ7HGD4BP7A3PXVC7MIN4MVJ63X3L
X-Mailman-Approved-At: Sun, 24 Nov 2024 13:55:09 -0500
X-Content-Filtered-By: Mailman/MimeDel 3.3.11b1
X-Mailman-Version: 3.3.11b1
Precedence: list
List-Id: Announcement-only list for the Python programming language <python-announce-list.python.org>
Archived-At: <https://mail.python.org/archives/list/python-announce-list@python.org/message/AGNTJ7HGD4BP7A3PXVC7MIN4MVJ63X3L/>
List-Archive: <https://mail.python.org/archives/list/python-announce-list@python.org/>
List-Help: <mailto:python-announce-list-request@python.org?subject=help>
List-Owner: <mailto:python-announce-list-owner@python.org>
List-Post: <mailto:python-announce-list@python.org>
List-Subscribe: <mailto:python-announce-list-join@python.org>
List-Unsubscribe: <mailto:python-announce-list-leave@python.org>
View all headers

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/

1

rocksolid light 0.9.8
clearnet tor