Skip to main content

A lightweight multi-process Execution Pool with load balancing and customizable resource consumption constraints.

Project description

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}
}

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyexpool, version 3.2.1
Filename, size File type Python version Upload date Hashes
Filename, size pyexpool-3.2.1-py2.py3-none-any.whl (53.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size pyexpool-3.2.1.tar.gz (64.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page