Not sure if you saw this or not a few weeks ago: 
http://apocryph.org/analysis_ruby_18x_http_client_performance

But anyway,  I looked for alternatives to Net::HTTP and saw this: 
http://github.com/jfairbairn/fasthttp/tree/eventmachine however I'm not sure 
how "well" it works as I haven't had time to play with it myself.

Any takers on some profiling?

Brad




________________________________
From: Ben <[EMAIL PROTECTED]>
To: couchdb-user@incubator.apache.org
Sent: Tuesday, October 28, 2008 1:58:26 PM
Subject: couchdb's ruby libraries are hampered by Net:HTTP slowness

Hi everyone,

I did some profiling and benchmarking on couchdb and ruby, and found out 
that connecting via couchrest was abnormally slow, and found that 
Net::HTTP appears to be at fault.

This is relevant for building production-quality ruby http clients to 
interface with couchdb.

Here's my full writeup: 
http://ducktyped.com/2008/10/28/couchdb-ruby-libraries-are-fundamentally-flawed

Thoughts?

Thanks,
Ben



      

Reply via email to