https://github.com/prdn/pigato-perf
Performance tests for PIGATO, a microservices framework for Node.js and Io.js
https://github.com/prdn/pigato-perf
Last synced: about 1 year ago
JSON representation
Performance tests for PIGATO, a microservices framework for Node.js and Io.js
- Host: GitHub
- URL: https://github.com/prdn/pigato-perf
- Owner: prdn
- License: mit
- Created: 2015-01-03T12:19:53.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-07-26T10:14:42.000Z (almost 11 years ago)
- Last Synced: 2024-11-19T21:11:36.414Z (over 1 year ago)
- Language: JavaScript
- Homepage: http://prdn.github.io/pigato/
- Size: 204 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
pigato-perf
===========
Performance tests for [PIGATO](https://github.com/prdn/pigato), a microservices framework for Node.js
### INSTALL
```npm install```
### USAGE
```node perf --help``` for the usage
```
Usage: perf [options]
Options:
-h, --help output usage information
--bn Num of Brokers
--wn Num of Workers (for each Broker)
--cn Num of Clients (for each Broker)
--pn Num of Parallel Requests (for each Client)
--p Num of messages (for each Client)
--m Use memory cache (1=enabled|0=disabled) (default=0)
--s Num of waves (default=1)
--e Num of waves (default=tcp://127.0.0.1:7777)
-N, --nofork Don't use fork
```
######Examples
```node perf.js --bn 4 --wn 2 --cn 2 --p 100000```