Skip to main content

Parallel queueing models for SimPy

Project description

ParallelQueue

Documentation Status PyPI version GitHub release

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 ajstone@uwaterloo.ca (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.

Project details


Download files

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

Source Distribution

ParallelQueue-1.0.0.tar.gz (8.1 kB view details)

Uploaded Source

File details

Details for the file ParallelQueue-1.0.0.tar.gz.

File metadata

  • Download URL: ParallelQueue-1.0.0.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for ParallelQueue-1.0.0.tar.gz
Algorithm Hash digest
SHA256 6deffd7df83ff76f54dd674fe70803b7fddc83bf5cf8955caf2e4a6d015f4093
MD5 e886a9906dc7e72dcccdf3c5a41d2594
BLAKE2b-256 b49293392eca8bf0f0dffb294973d7e2ba0f82327f047487d43ba0c012b46354

See more details on using hashes here.

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