Project

pbenchmark

0.0
No commit activity in last 3 years
No release in over 3 years
A benchmarking tool for servers compatible with the Pusher protocol.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

pbenchmark

A simple tool to benchmark Pusher.com compatible servers.

Dependency Status

Getting started

Install the pbenchmark gem:

gem install pbenchmark

Run it against your server, for example a Slanger daemon:

pbenchmark -c 10 -n 5 -i 43 -k bcff8137f9c04db491199d4578a37286 -s 68f5400d1aaa4d1bbaaf70bb0b866cb7 -a 127.0.0.1:80 -w 127.0.0.1:8080

Messages are sent via the API, and the time it took them to reach the websocket clients is printed.

Commmand line parameters

-c Number of websocket clients.

-n Number of messages to send via the API.

-i Application ID.

-k Application key.

-s Application secret.

-a API host and port. Example: 127.0.0.1:80.

-w Websocket server host and port. Example: 127.0.0.1:8080

--size Payload size in bytes.

Credits

Gilbert Roulot @ Tech-angels - http://www.tech-angels.com/

Tech-Angels