Search posts, tags, users, and pages
Introduction In this article, I want to compare the performance of two different web frameworks for Rust and Go. Both frameworks are very similar in their design (all are inspired by Express.js) and both claim to be the fastest web framework (blazing...
Engin Diri
@ediri · Germany
Customer Experience Architect @ Pulumi
Cloud Native Pilgrim | Kubernetes Enthusiast | Serverless Believer | Customer Experience Architect @ Pulumi | (he/him) | CK{A,AD} |
Markdown supported · ⌘↵ to post
Hoh Shen Yien
Interesting benchmark! Just wondering if you have any context for why the max response time for Nickel.rs can go up to 30s?
I can only explain it, that my web server can't handle all the requests/s and timeout. I see some timeouts in the result of bombardier:
Bombarding 127.0.0.1 with 5000000 request(s) using 50 connection(s) 5000000 / 5000000 [==================================================================================================================================================================================================================================================================================] 100.00% 106194/s 47s Done! Statistics Avg Stdev Max Reqs/sec 106292.69 44491.73 224577.53 Latency 393.78us 91.33ms 33.91s Latency Distribution 50% 43.00us 75% 63.00us 90% 103.00us 95% 170.00us 99% 642.00us HTTP codes: 1xx - 0, 2xx - 4999962, 3xx - 0, 4xx - 0, 5xx - 0 others - 38 Errors: dial tcp 127.0.0.1:6767: connect: operation timed out - 38 Throughput: 21.90MB/s
Engin Diri It's interesting that the max delay is much lesser in Fiber, thanks for the info! :D
Hoh Shen Yien
Interesting benchmark! Just wondering if you have any context for why the max response time for Nickel.rs can go up to 30s?