couchbase-stress-testing-1.0.0
توضیحات
Couchbase stress test
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | couchbase-stress-testing-1.0.0 |
| نام | couchbase-stress-testing |
| نسخه کتابخانه | 1.0.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Travix Internationals |
| ایمیل نویسنده | malsharbaji@travix.com |
| آدرس صفحه اصلی | https://github.com/Travix-International/couchbase-stress-testing |
| آدرس اینترنتی | https://pypi.org/project/couchbase-stress-testing/ |
| مجوز | MIT |
=============================
Couchbase Stress Test
=============================
This Couchbase Stress TEST by inseting data to specified bucket
----------
Installation instructions:
--------------------------
Install via ``pip3``:
.. code-block::
$ pip3 install couchbase-stress-test
Usage example:
--------------
By default, query Couchbase on 127.0.0.1:8091 and run insert query.
You can change these defaults as required by passing in options:
.. code-block::
$ couchbase-stress-test -c <couchbase host:port> -u <couchbase username> -p <couchbase password> -m <number of thread to execute the calls asynchronously> - r <how many inserts to couchbase>
Docker instructions:
--------------------
Environment variables
In order to configure the Couchbase stress test for use with other than default settings you can pass in the
following environment variables:
.. csv-table:: Environment variables
:header: "Name", "Description", "Default value"
:widths: 18, 26, 10
"COUCHBASE_HOST", "Couchbase host address", "127.0.0.1"
"COUCHBASE_PORT", "Couchbase port address", "8091"
"COUCHBASE_USERNAME", "Couchbase username",
"COUCHBASE_PASSWORD", "Couchbase password",
"MAX_WORKERS", "Number of thread to execute the calls asynchronously", "1"
"RANGE", "How many inserts to couchbase", "1000"
Running the container
.. code-block::
docker run -t -i -e COUCHBASE_HOST=127.0.0.1 -e COUCHBASE_PORT=8091 <image:tag>
نحوه نصب
نصب پکیج whl couchbase-stress-testing-1.0.0:
pip install couchbase-stress-testing-1.0.0.whl
نصب پکیج tar.gz couchbase-stress-testing-1.0.0:
pip install couchbase-stress-testing-1.0.0.tar.gz