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 details)

Uploaded Source

File details

Details for the file couchbase-stress-testing-1.0.0.tar.gz.

File metadata

  • Download URL: couchbase-stress-testing-1.0.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for couchbase-stress-testing-1.0.0.tar.gz
Algorithm Hash digest
SHA256 77b363e0cfdf7d8aff3993c7a843beece1f558be965ae411996d7bb84d7b2478
MD5 6bfd158e39efdee290badef1885421af
BLAKE2b-256 7fee007590a5c771e1dbc3292e09ee3e73f68b3581b9c4203317179d8df3be12

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page