1
0
mirror of https://github.com/bigchaindb/bigchaindb.git synced 2024-06-10 11:35:16 +02:00
bigchaindb/scripts/benchmarks/README.md
libscott 32fc9244e6 Benchmark for CREATE transactions (#1511)
* benchmark code, throughput stats collection with graphite

* benchmarks readme

* benchmark readme update with results

* Update README.md

* add comment on why 10000 backlog size in benchmark
2017-06-10 10:01:28 +02:00

1.2 KiB

Benchmarks

CREATE transaction throughput

This is a measurement of the throughput of CREATE transactions through the entire pipeline, ie, the web frontend, block creation, and block validation, where the output of the measurement is transactions per second.

The benchmark runs for a fixed period of time and makes metrics available via a graphite interface.

Running the benchmark

Dependencies:

  • Python 3.5+
  • docker-compose 1.8.0+
  • docker 1.12+

To start:

$ python3 scripts/benchmarks/create_thoughtput.py

To start using a separate namespace for docker-compose:

$ COMPOSE_PROJECT_NAME=somename python3 scripts/benchmarks/create_thoughtput.py

Results

A test was run on AWS with the following instance configuration:

  • Ubuntu Server 16.04 (ami-060cde69)
  • 32 core compute optimized (c3.8xlarge)
  • 100gb root volume (300/3000 IOPS)

The server received and validated over 800 transactions per second:

BigchainDB transaction throughput

For more information on how the benchmark was run, the abridged session buffer is available.