Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: 267 Reproducible performance tests #283

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,5 @@ erl_crash.dump
/.elixir_ls/
*~
*.orig

perf_tests/src/.idea/
58 changes: 58 additions & 0 deletions perf_tests/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
## Requirements

* `docker`
* `docker-compose`
* `kubectl` (>= v1.11)
* `timeout`
* `helm` (>= v3)

## Run 1

Send one message, send 1M ignored messages, send one message again.

### ENV Variables - Client
```ini
CLIENTS=1
TIMEOUT=10m
WAIT=30s
RIG_HOST=rig
```

### Start
```bash
./start_run1.sh
```

## Run 2

Send 100k messages to 100 clients.

### ENV Variables - Client
```ini
CLIENTS=100
TIMEOUT=30m
WAIT=30s
RIG_HOST=rig
```

### Start
```bash
./start_run2.sh
```

## Run 6

Send 1000 messages in 100 different event types to 1000 clients.

### ENV Variables - Client
```ini
CLIENTS=1000
TIMEOUT=1h
WAIT=30s
RIG_HOST=rig
```

### Start
```bash
./start_run6.sh
```
Loading