Sha256: bd2d022329ffc0b3e1dc3c334be1bd9fcf281723f7c8acb9dafef1c4d32832ea

Contents?: true

Size: 836 Bytes

Versions: 5

Compression:

Stored size: 836 Bytes

Contents

## Hot to run benchmarks

### Installation

- Install [Ansible](http://ansible.com) (`brew install ansible`)

- Launch two EC2 instances from `anycable-benchmark-xxx` AMI

- Attach more local network interfaces to the _client_ instance

- Update `hosts` file and playbooks with required information (IPs, etc)

- Prepare the _client_ instance: `ansible-playbook --tags prepare benchmark.yml`

### Running benchmarks

To run a server, e.g. Action Cable: `ansible-playbook --tags action_cable servers.yml`

To run a benchmark against it: `ansible-playbook --tags action_cable benchmark.yml`

You can also specify benchmark parameters: `ansible-playbook --extra-vars "step_size=1000 steps=10 sample_size=10" benchmark.yml`.

**NOTE**: Ansible doesn't support command output streaming, so we can only see the results at the end of the run.

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
anycable-0.6.1 benchmarks/HowTo.md
anycable-0.6.0 benchmarks/HowTo.md
anycable-0.6.0.rc1 benchmarks/HowTo.md
anycable-0.5.2 benchmarks/HowTo.md
anycable-0.5.1 benchmarks/HowTo.md