Couchbase stress test
Project description
This Couchbase Stress TEST by inseting data to specified bucket
Installation instructions:
Install via pip3:
$ 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:
$ 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:
Name |
Description |
Default value |
---|---|---|
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
docker run -t -i -e COUCHBASE_HOST=127.0.0.1 -e COUCHBASE_PORT=8091 <image:tag>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for couchbase-stress-testing-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77b363e0cfdf7d8aff3993c7a843beece1f558be965ae411996d7bb84d7b2478 |
|
MD5 | 6bfd158e39efdee290badef1885421af |
|
BLAKE2b-256 | 7fee007590a5c771e1dbc3292e09ee3e73f68b3581b9c4203317179d8df3be12 |