This website requires JavaScript.
Explore
Get Started
openstack
/
zaqar
Code
Issues
Proposed changes
b4c0d0c59a
Branches
Tags
No results found.
zaqar
/
bench-requirements.txt
4 lines
93 B
Plaintext
Raw
Normal View
History
Unescape
Escape
feat(benchmarking) : Producer-Consumer scenario This patch adds the ability to benchmark Marconi. The benchmark tool is a console script, and can be triggered using $ marconi-bench-pc The Benchmark tool fires up both a Producer Process and a Consumer Process, while accepting CLI parameters for the number of processes, number of workers and duration of test. The Producer Process publishes messages to a given queue, while the Consumer consumes the messages by claiming and deleting them. Setup: Benchmark dependencies need to be pip installed: pip install -r bench-requirements.txt Export an environment variable called MESSAGES_PATH and set it to the path of messages.json in marconi/bench Note: This allows benchmarking with different set of messages rather than those specified in messages.json Usage: $ marconi-bench-pc -p {No. Processes} -w {No. Workers} -t {No. Seconds} Example: $ marconi-bench-pc -p 2 -w 2 -t 4 Partially Implements: blueprint basic-benchmarking Change-Id: I57ebe853554199490adba8b2a091423f399b0565
2014-06-09 20:11:49 +00:00
gevent>=1.0.1
marktime>=0.2.0
Fix SSL and verbose issue of zaqar bench Currently, Zaqar bench doesn't pass insecure or cert when build Zaqar client which cause it doesn't work with SSL. This patch fix it and also deprecates the 'verbose' option which is replaced with 'debug'. Closes-Bug: #1607124 Change-Id: I7411b9a310abb5e51f91bac0766a6fe7d684741c
2016-07-27 23:40:46 +00:00
python-zaqarclient>=1.1.0
os-client-config>=1.13.1 # Apache-2.0
Copy Permalink