Skip to main content

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:

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


Download files

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

Source Distribution

couchbase-stress-testing-1.0.0.tar.gz (3.1 kB view hashes)

Uploaded Source

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