Skip to content

syk-coder/benchmark

Repository files navigation

The OpenMessaging Benchmark Framework

This repository houses user-friendly, cloud-ready benchmarking suites for the following messaging platforms:

A benchmarking suite for RabbitMQ will be available soon.

For each platform, the benchmarking suite includes easy-to-use scripts for deploying that platform on Amazon Web Services (AWS) and then running benchmarks upon deployment. For end-to-end instructions, see platform-specific docs for:

Project goals

The goal of the OpenMessaging Benchmark Framework is to provide benchmarking suites for an ever-expanding variety of messaging platforms. These suites are intended to be:

  • Cloud friendly — All benchmarks are run on cloud infrastructure, not on your laptop
  • Easy to use — Just a few CLI commands get you from zero to completed benchmarks
  • Transparent — All benchmarking code is open source, with pull requests very welcome
  • Realistic — Benchmarks should be largely oriented toward standard use cases rather than bizarre edge cases

Benchmarking workloads

Benchmarking workloads are specified in YAML configuration files that are available in the workloads directory. The table below describes each workload in terms of the following parameters:

  • The number of topics
  • The size of the messages being produced and consumed
  • The number of subscriptions per topic
  • The number of producers per topic
  • The rate at which producers produce messages (per second). Note: a value of 0 means that messages are produced as quickly as possible, with no rate limiting.
  • The size of the consumer's backlog (in gigabytes)
  • The total duration of the test (in minutes)
Workload Topics Partitions per topic Message size Subscriptions per topic Producers per topic Producer rate (per second) Consumer backlog size (GB) Test duration (minutes)
simple-workload.yaml 1 10 1 kB 1 1 10000 0 5
1-topic-1-partition-1kb.yaml 1 1 1 kB 1 1 50000 0 15
1-topic-1-partition-100b.yaml 1 1 100 bytes 1 1 50000 0 15
1-topic-16-partitions-1kb.yaml 1 16 1 kB 1 1 50000 0 15
backlog-1-topic-1-partition-1kb.yaml 1 1 1 kB 1 1 100000 100 5
backlog-1-topic-16-partitions-1kb.yaml 1 16 1 kB 1 1 100000 100 5
max-rate-1-topic-1-partition-1kb.yaml 1 1 1 kB 1 1 0 0 5
max-rate-1-topic-1-partition-100b.yaml 1 1 100 bytes 1 1 0 0 5
max-rate-1-topic-16-partitions-1kb.yaml 1 16 1 kB 1 1 0 0 5
max-rate-1-topic-16-partitions-100b.yaml 1 16 100 bytes 1 1 0 0 5
max-rate-1-topic-100-partitions-1kb.yaml 1 100 1 kB 1 1 0 0 5
max-rate-1-topic-100-partitions-100b.yaml 1 100 100 bytes 1 1 0 0 5

Instructions for running specific workloads—or all workloads sequentially—can be found in the platform-specific documentation.

Adding a new platform

In order to add a new platform for benchmarking, you need to provide the following:

About

OpenMessaging Benchmark Framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 80.2%
  • HCL 12.4%
  • Shell 6.1%
  • Other 1.3%