A package for creating and enqueueing stressypy jobs
rqpop uses the python package stressypy to create a certain number of cpu-stressing jobs for a variably distributed amount of time, the distribution type and seed being specified by the user. It creates stressypy’s JobBlock objects which contain pertinent information for queueing these test jobs to test queueing algorithms by enqueueing a certain number of randomly ‘sized’ jobs, which simulates the real job influx of a webservice, for example. The jobs are enqueued with RQ (Redis Queue).
JobBlocks:
refer to https://github.com/salbrandi/stressypy#jobblock-attributes for documentation on JobBlock objects
Installation
rqpop can be installed with pip install rqpop and will auto-install all dependencies.
Alternatively, it can be cloned manually from the url: https://github.com/salbrandi/rqpop.git or the tarfile can be downloaded from the url: https://github.com/salbrandi/rqpop/archive/0.1.tar.gz and setup with python setup.py install
Directions
rqpop runs using the command rqpop queue with the number of jobs desired and the max time allowed being passed as arguments.
The help page:
Distributions supported are:
Log Normal: normal - default
Box: box
Spike/Dirac/Delta: spike
Exponential/Power: power
Examples
- rqpop queue 10 12 --seed 0 --distribution normal:
creates and enqueues 10 jobs normally distributed with seed 0 and a max time of 12 seconds
- rqpop queue 21456 --seed 1023041 --distribution power --mnc 2 --mxc 10 -q high:
creates and enqueues 21, 456 jobs exponentially distributed with seed 1023041, min cores 2, max cores 10 on the queue ‘high
Metadata
Release files for rqpop 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rqpop-0.0.3.tar.gz | 4.8 kB | Without provenance | Details for rqpop-0.0.3.tar.gz |
Release files / rqpop-0.0.3.tar.gz
| Download URL | rqpop-0.0.3.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
74b2f1ecb596ec48a874ce8a5eace875ba5609c45d75f9a45006f4aa981a94c5
|
|
BLAKE2b-256 checksum How to use checksums |
76858889b1f5c3eeda7a5f59da202f99e6e0a65caeb4f9496438e307e9318083
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for rqpop 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.