evio/benchmarks/README.md

29 lines
777 B
Markdown
Raw Normal View History

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
- [wrk](https://github.com/wg/wrk) for HTTP
- [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
go get -u github.com/kataras/iris
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.