2017-11-03 04:31:36 +03:00
## evio benchmark tools
2017-11-04 02:39:28 +03:00
Required tools:
2017-11-03 04:31:36 +03:00
2017-11-04 16:26:00 +03:00
- [bombardier ](https://github.com/codesenberg/bombardier ) for HTTP
2017-11-03 04:31:36 +03:00
- [tcpkali ](https://github.com/machinezone/tcpkali ) for Echo
- [Redis ](http://redis.io ) for Redis
2017-11-04 02:39:28 +03:00
Required Go packages:
```
go get gonum.org/v1/plot/...
go get -u github.com/valyala/fasthttp
2017-11-04 03:14:09 +03:00
go get -u github.com/tidwall/redcon
2017-11-04 02:39:28 +03:00
```
And of course [Go ](https://golang.org ) is required.
2017-11-03 04:36:15 +03:00
Run `bench.sh` for all benchmarks.
2017-11-04 03:14:09 +03:00
## Notes
- The current results were run on an Ec2 c4.xlarge instance.
- The servers started in single-threaded mode (GOMAXPROC=1).
- Network clients connected over Ipv4 localhost.
2017-11-04 03:15:27 +03:00
Like all benchmarks ever made in the history of whatever, YMMV. Please tweak and run in your environment and let me know if you see any glaring issues.