distributed, rpc
Project description
Python Hydra
Hydra is a Python implementation of various capabilities used for multi-proces sand multi-host distributed processing and logic. It is design to encompass more and more functionality over time, as new common use cases are identified.
Hydra Distributed Queues
Hydra distribute queues are queues that can be accessed across multiple hosts. There are two types of queues. First, a source queue, where a single host serves a queue that allows a client to populate a common queue on one host, and allow other processes and hosts to get (pull) from this common queue. Secondly, a sink queue, where a single host serves a queue that allows other remote clients to put (push) items into the common queue. These are essentially mirrors of each other.
Motivation
Hydra distributed queues were motivated for use in multi-host, distributed Python testing. A single queue is created and populated with tests to be executed. Remote clients then pull from this queue to get the next test. Only one test is served to one client -- the one that happens to request the next item in the queue.
Likewise, the remote clients can push results to a single sink-queue for the main process to read and collate test results in a single place.
This type of set up allows for very efficient execution. As each client completes one test, it simply pulls the next available test for execution with minimal delay. The queues are joinable queues and the source-queue is a task-based queue that allows signaling start and end of each test executed.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file py_hydra-1.0.12.tar.gz.
File metadata
- Download URL: py_hydra-1.0.12.tar.gz
- Upload date:
- Size: 23.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e0d6612725f8f8994ae5fd3b45e9dd1d334597a6a88d93ee96d43c3c8ee6cea
|
|
| MD5 |
f041758f841a0ee5c6d796915ad75051
|
|
| BLAKE2b-256 |
08dd1d14db0b0259c49f6f9c1f075ff585d3d3cc8b5fa532dff32d989cc2d341
|
File details
Details for the file py_hydra-1.0.12-py3-none-any.whl.
File metadata
- Download URL: py_hydra-1.0.12-py3-none-any.whl
- Upload date:
- Size: 26.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e40f960b5a9020cdf160246b5abb96e8c08aca9519151f7dc6b296e53ea76add
|
|
| MD5 |
07dbed6b027aec1228dc7a18ca40c918
|
|
| BLAKE2b-256 |
e60c70f1fd35253bae319ec9cb2481d43a4552801a78bd1930b13a0654508684
|