Ruby HTTP client performance shoot out
I have compared the performance of all major ruby http libs here. I also added tests with apache bench, httperf and java.
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
I have compared the performance of all major ruby http libs here. I also added tests with apache bench, httperf and java.
Comments
Great writeup, thanks! Note - mixed up links in “For me CURB and PATRON are the best choise.”
Thanks for sharing the result and test code! Here’s my feature side summary of Ruby HTTP clients: http://j.mp/RubyHTTPClients
But this performance comparison looks to incorrect especially for httpclient. test_curl.rb initializes Curl::Easy first and reuse it, but test_httpclient.rb initializes HTTPClient every time! Can you fix it and update the result? Disclaimer: I’m the author of httpclient gem. :)
Post a comment