Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/qneyrat/centrifugo-benchmark

benchmark for centrifugo
https://github.com/qneyrat/centrifugo-benchmark

Last synced: 12 days ago
JSON representation

benchmark for centrifugo

Awesome Lists containing this project

README

        

# Centrifugo Benchmark

Benchmark for centrifugo

## Config benchmark

Fix credentials and ws url.
```
secret := "admin"
wsURL := "ws://ws.bagoo.io/connection/websocket"
```

Edit nbClient and nbMessage.
```
const nbClient = 1000
const nbMessage = 100
```

Edit speed.
```
time.Sleep(70 * time.Millisecond)
```