An analysis of Ruby 1.8.x HTTP client performance | apocryph.org

screenshot

Not too long ago I bitched about the performance of Ruby’s HTTP client. Some of the comments to that post prompted me to investigate this further, in the hopes of finding a more performant implementation solution. The results of my analysis are in, and they’re…interesting, to say the least. Summary Ruby 1.8.6 (which still seems the dominant version among both Linux binary packages and the Windows One-Click Installer) uses a hard-coded 1K buffer size for HTTP reads, which leads to a ton of CPU usage du...

http://apocryph.org/analysis_ruby_18x_http_client_performance
http://b.hatena.ne.jp/entry/http://apocryph.org/analysis_ruby_18x_http_client_performance