aiodistributor
Python Asynchronous Library for Synchronization of Replicated Microservices
This library provides a set of tools for synchronizing replicated microservices using Redis. The main goal is to facilitate inter-service communication, rate limiting, and throttling mechanisms in a distributed environment.
Features:
- Distributed sliding counter for implementing rate limiting or throttle mechanisms.
- Distributed waiter for waiting for signals from other nodes or services and triggering the appropriate callback.
- Distributed task for managing and distributing tasks across multiple nodes or services.
- Distributed cache for caching data and sharing it among services.
- Distributed notifier for event-driven communication between nodes or services.
- Utilizes Redis for storage and message passing between nodes.
- Asynchronous and non-blocking design using Python's asyncio library.
Dependencies
- Python 3.10+
- Redis server
- redis-py or aioredis
Installation
To install the aiodistributor library, you can simply use pip:
pip install aiodistributor
Usage
Detailed examples and usage instructions can be found in examples folder
Contributing
Contributions are welcome! Please submit a pull request or create an issue to discuss proposed changes.
Release files for aiodistributor 0.0.3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aiodistributor-0.0.3.3.tar.gz | 15.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aiodistributor-0.0.3.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 36.8 kB
Release files / aiodistributor-0.0.3.3.tar.gz
| Download URL | aiodistributor-0.0.3.3.tar.gz |
|---|---|
| Size | 15.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4e36470abcb6293aff92920e816dcd1467ed4347f3bf86e4adebf482c3dcfcfc
|
|
BLAKE2b-256 checksum How to use checksums |
e35501bc16992b89c62f58e9ba2ecb06b522742b7132472328d7ec57a8ba8de0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.10.14
|
Release files / aiodistributor-0.0.3.3-py3-none-any.whl
| Download URL | aiodistributor-0.0.3.3-py3-none-any.whl |
|---|---|
| Size | 20.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
659fd85e801307d0e81bfe14a949d80b2e3472c19232c20e4d93648286970d7f
|
|
BLAKE2b-256 checksum How to use checksums |
b0ad0a422a2d260c833f3da951e4c4ffebe18c2e46d77959af1dc2b48f6ed8a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.10.14
|