couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bradford Winfrey <bradswinf...@yahoo.com>
Subject Re: couchdb's ruby libraries are hampered by Net:HTTP slowness
Date Tue, 28 Oct 2008 21:40:45 GMT
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 <ben@ducktyped.com>
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



      
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message