https://github.com/nebulab/rails-websocket-bench
https://github.com/nebulab/rails-websocket-bench
actioncable anycable benchmarks ruby ruby-on-rails websocket-server
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nebulab/rails-websocket-bench
- Owner: nebulab
- Created: 2018-07-27T13:12:58.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-01T10:34:42.000Z (over 6 years ago)
- Last Synced: 2025-02-05T09:33:53.013Z (8 months ago)
- Topics: actioncable, anycable, benchmarks, ruby, ruby-on-rails, websocket-server
- Language: HTML
- Size: 6.49 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rails Websocket Bench
## Setup
```bash
RAILS_ENV=production bin/setup
RAILS_ENV=production bundle exec rails assets:precompile
curl -Lo bin/anycable-go https://github.com/anycable/anycable-go/releases/download/v0.6.0/anycable-go-v0.6.0-linux-amd64 && \
chmod +x bin/anycable-go
```## Start the bench application
[`Foreman`](https://github.com/ddollar/foreman) is used in order to ease processes management with Procfiles.
### Start with ActionCable as Websocket server
```bash
foreman start -e .env.production,.env.actioncable -f Procfile.actioncable
```### Start with AnyCable as Websocket server
```bash
foreman start -e .env.production,.env.anycable -f Procfile.anycable
```## Start the test suite
```bash
tsung -f tsung.xml -k start
```