HighFive
Framework for fault-tolerant cooperative distributed processing.
About
HighFive is a simple distributed processing framework designed to support a large pool of transient workers coming and going as they please. Workers running in the pool are invisible to the owner, so there is no need to worry about distributing tasks manually or the possibility of network issues as these are handled by the framework. HighFive is made for cooperative processing of CPU-heavy tasks by allowing you and your friends to chip in as much computing power as you want, for as long as you want!
HighFive is written in Python 3, and uses
asyncio for managing
connections. Because it uses
async/await
syntax, it is
currently only supported by Python 3.5 and up (this may change in the future).
Installation
HighFive is available on PyPI!
Simply run pip install highfive
to install the latest version.
You can also install HighFive manually:
- Clone the repository.
-
cd
into the root directory. - (optional) Create a virtual environment.
- Run
pip install .
.
Example
You can see a simple example of HighFive in the example/
directory of this
project, and run it for yourself! After installation, simply run the master
with python3 example/add_master.py
, then join the worker pool with python3
example/add_worker.py
.
More thorough documentation is coming soon!