Skip to content

aarjaneiro/ParallelQueue

Repository files navigation

ParallelQueue

Documentation Status PyPI version GitHub release DOI

This repository hosts the "ParallelQueue" project which is currently in its early stages of development. This package aims to allow for easier implementation of novel parallel processing approaches in Python DES packages (especially SimPy).

WARNING: The GitHub master build can be (and likely is) different from the PyPi build, being more up-to-date. For the time being, use the current GitHub master branch if starting a new project, using PyPi if and only if you require that particular version (e.g., for code stability as it is updated less-frequently). This disparity is likely to change with the maturity of this project which is still in early development.

Installation

From this repository:

git clone https://github.com/aarjaneiro/ParallelQueue
cd ParallelQueue
python setup.py install

From PyPi (read Warning first!):

pip install parallelqueue

Current Goals

  1. Introduce more common models into base_models.
  2. Optimize SimPy boilerplate common to all models by incorporating Cython.
  3. Incorporate https://github.com/tqdm/tqdm for better progress visualization and simulation parallelization.

Interested in Contributing?

Do feel free to write an issue or submit a PR! If you are interested co-maintaining this package with me, please email me at [email protected] (merely include a brief description of your familiarity with Python and Queueing Theory).

Also, be sure to look into the development branches!

References

Heavy Traffic Analysis of the Mean Response Time for 
Load Balancing Policies in the Mean Field Regime
    Tim Hellemans, Benny Van Houdt (2020)
    https://arxiv.org/abs/2004.00876

Redundancy-d:The Power of d Choices for Redundancy
    Kristen Gardner, Mor Harchol-Balter, Alan Scheller-Wolf,
    Mark Velednitsky, Samuel Zbarsky (2017)
    https://doi.org/10.1287/opre.2016.1582

Release Notes

  • 1.0.0 expands the gitignore to exclude temporary files typically generated when used in a virtual environment on Visual Studio.
    • Also coincides with an official DOI being assigned via Zenodo.