A distributed leader election python package using postgresql notify.
Project description
notifelect: A Distributed Leader Election Python Package Using PostgreSQL NOTIFY
Notifelect is an python package designed to facilitate leader election in distributed systems. Utilizing PostgreSQL's powerful notify feature, notifelect orchestrates the election process through efficient communication channels, ensuring robust process synchronization. Built on the principles of the Bully algorithm, this package helps systems dynamically elect leaders based on process IDs managed via PostgreSQL sequences. Ideal for systems requiring high reliability and consistency across nodes, notifelect integrates seamlessly into existing python applications leveraging asynchronous programming.
Key Features:
- Leader Election: Implements the Bully election algorithm using PostgreSQL for process ID generation and leader election logic.
- Asynchronous Communication: Leverages PostgreSQL notify for real-time, event-driven communication between nodes.
- Easy Integration: Designed with a straightforward API to plug into existing projects.
Get started with notifelect
to enhance your distributed systems with efficient and reliable leader election mechanisms.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for notifelect-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ea3506b48df4bfe41f4d9abc10a186d10873be5cb46c8eae87d9c0fbd9b75ea |
|
MD5 | 51552982a00ba5210e566a15d8095241 |
|
BLAKE2b-256 | 34b842cdfcfdc1c436bbd366dfbf3ad79475df038a3db7f7e7d65df938ea93dc |