-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
evaluate and use fasthttp #6
Comments
Sounds great. Assigned the issue to you if you want to give it a shot. HTTP performance have been quite good so far, on my laptop (OS X) I usually run out of file handles before the CPU usage goes above 100% on a single core. But having less CPU usage due to HTTP implementation overhead sounds good. Regarding memory use, I've seen pretty consistent behaviour where Gotling uses about 8 kb (each goroutine) x number of concurrent "users". |
sure, will have a try later |
i just pushed the initial implementation with fasthttp on below is an example, you can uncomment the ---
iterations: 10
users: 10
rampup: 10
actions:
- http:
title: Ping Google
method: GET
# client: fasthttp
url: https://www.google.com |
Thanks, awesome work. Did you get the performance issue sorted out? |
nope, even i use the lock-free approach for creating request/response object in commit: da3a8d5 i guess there still other lock/sync operation in fasthttp internal, will see. |
i'd like to pend this since still fasthttp not perform as fast as net/http. |
Ok, good work nevertheless. |
Interesting work! :-) I wonder if sharing a single fasthttp client across multiple go-routines would help. |
i saw this https://github.com/rakyll/boom/issues/94, we probably can evaluate it and use it if it really promise.
The text was updated successfully, but these errors were encountered: