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!

Feature matrix of Ruby HTTP clients

I posted Ruby HTTP clients feature matrix. It covers 17 clients and 48 features. Let me know if you find any mistakes (it must include some!) and my misunderstandings.

Comments

Hey, thanks for sharing you crazy work! This is super AWESOME! So, who’s the champion after all?

Disclaimer: I’m the author of httpclient gem, which is one of a clients in the list. :)

Summary in the presentation: http://j.mp/OdrkHTTPClient - net/http has various derivatives and alternatives because of old-style API and simple structure. - Few derivatives of net/http offers full-features of net/http. Too simple to extend? - Implemented features are vary from product to product. - APIs are vary, too. Making simple API tends to introduce disunity. - There’s no performance difference between products but it’s worth checking Keep-Alive and gzip compression support. - Eventmachine is considerably fast, if you can do non-blocking all your code. - Take care if you use C-ext libcurl variants. Some introduce interpreter blocking and JRuby/Rubinius incompatibility (at this moment).

And if you need SSL support, clients you can use are not much.

Sorry for not providing short answer…

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