pyexpool
pypi i pyexpool

pyexpool

Python Multi-Process Execution Pool: concurrent asynchronous execution pool with custom resource constraints (memory, timeouts, affinity, CPU cores and caching), load balancing and profiling capabilities of the external apps on NUMA architecture

by eXascaleInfolab

3.2.1 (see all)
pypi i pyexpool
Readme

PyExPool is a concurrent execution pool with custom resource constraints (memory, timeouts, affinity, CPU cores and caching) and load balancing of the external applications on NUMA architecture. All main functionality is implemented as a single-file module to be easily included into your project and customized as a part of your distribution (like in PyCaBeM to execute multiple apps in parallel on the dedicated CPU cores and avoiding their swapping from the main memory), also it can be installed as a library. An optional minimalistic Web interface is provided in the separate module to inspect the load balancer and execution pool. Typically, PyExPool is used as an application framework for benchmarking, load testing or other heavy-loaded multi-process execution activities on constrained computational resources. PyExPool is convenient for the fine-grained resource control (including apps execution on the specific number of the optionally dedicated logical CPUs) and for the failover execution.

hwloc / lstopo should be additionally installed if customized CPU affinity masking and cache control are required, see Requirements section.

See details on the PyExPool page and star the project if you like it! For any further assistance you can drop me a email or write me on Linkedin.

BibTeX:

@misc{pyexpool,
    author = {Artem Lutov and Philippe Cudré-Mauroux},
    title = {PyExPool-v.3: A Lightweight Execution Pool with Constraint-aware Load-Balancer.},
    year = {2018},
    url = {https://github.com/eXascaleInfolab/PyExPool}
}

GitHub Stars

150

LAST COMMIT

3yrs ago

MAINTAINERS

1

CONTRIBUTORS

1

OPEN ISSUES

1

OPEN PRs

0
VersionTagPublished
3.2.1
4yrs ago
3.1.1
4yrs ago
3.1.0
4yrs ago
3.0.2
4yrs ago
No alternatives found
No tutorials found
Add a tutorial