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.


	author = {Artem Lutov and Philippe Cudré-Mauroux},
	title = {PyExPool-v.3: A Lightweight Execution Pool with Constraint-aware Load-Balancer.},
	year = {2018},
	url = {}

Download files

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

Source Distribution

pyexpool-3.2.1.tar.gz (64.7 kB view hashes)

Uploaded source

Built Distribution

pyexpool-3.2.1-py2.py3-none-any.whl (53.0 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page