https://github.com/badoo/centrifugo-bench
Benchmark tools for centrifugo
https://github.com/badoo/centrifugo-bench
benchmark centrifugo
Last synced: 2 months ago
JSON representation
Benchmark tools for centrifugo
- Host: GitHub
- URL: https://github.com/badoo/centrifugo-bench
- Owner: badoo
- Created: 2018-05-31T14:23:08.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-14T09:17:00.000Z (almost 8 years ago)
- Last Synced: 2025-01-11T01:24:10.972Z (over 1 year ago)
- Topics: benchmark, centrifugo
- Language: Go
- Homepage:
- Size: 29.3 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Centrifugo Bench
## Installation
```
go get -u github.com/badoo/centrifugo-bench
```
## Build
```
docker run --rm -v $GOPATH:/go -e "GOPATH=/go" -w /go/src/github.com/badoo/centrifugo-bench golang:1.9 go build -v
```
## Usage
```
Usage of centrifugo-bench:
-channel-rps uint
Message per second for channel (default 1)
-channels uint
Channels count. (default 1)
-clients-per-channel uint
Clients per channel count. (default 1)
-connection-concurrency uint
Max concurrency for establishing connections (default 10)
-secret string
Secret.
-url string
WS URL, e.g.: ws://localhost:8000/connection/websocket.
```