https://github.com/faustinoaq/kemal-reuse-port
A kemal app using reuse port
https://github.com/faustinoaq/kemal-reuse-port
crystal kemal
Last synced: 6 months ago
JSON representation
A kemal app using reuse port
- Host: GitHub
- URL: https://github.com/faustinoaq/kemal-reuse-port
- Owner: faustinoaq
- License: mit
- Created: 2018-01-24T18:01:30.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-24T18:12:40.000Z (over 7 years ago)
- Last Synced: 2025-02-05T21:37:22.487Z (8 months ago)
- Topics: crystal, kemal
- Language: Crystal
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# KeRePo
Testing Kemal performance, see: https://github.com/kemalcr/kemal/issues/73
## Installation
```
shards build --release --no-debug
```## Usage
```
for i in $(seq 1 $(nproc --all)); do
./bin/KeRePo &
donewait
```Then use `wrk` (Tested on Intel Celeron 2795U 1.4Ghz x2 8GB)
```
Running 10s test @ http://localhost:3000
2 threads and 100 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 43.75us 216.71us 12.99ms 99.15%
Req/Sec 27.93k 2.03k 30.18k 85.00%
555732 requests in 10.02s, 59.36MB read
Socket errors: connect 0, read 0, write 0, timeout 49
Requests/sec: 55484.50
Transfer/sec: 5.93MB
```## Contributing
1. Fork it ( https://github.com/faustinoaq/KeRePo/fork )
2. Create your feature branch (git checkout -b my-new-feature)
3. Commit your changes (git commit -am 'Add some feature')
4. Push to the branch (git push origin my-new-feature)
5. Create a new Pull Request## Contributors
- [faustinoaq](https://github.com/faustinoaq) Faustino Aguilar - creator, maintainer