RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

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!

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.

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

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in