After benchmarking: couchrest performance bottleneck?
-
J. Chris A.
wow ben, thanks for the attention to detail.
I've mostly been using CouchRest for shoveling data around, so I don't have req/response numbers like that, but that does seem slow.
How many docs do you have? how does couchrest perform for a medium complexity document GET?
-
Ben
Chris,
here's my writeup of the situation. Long story short, Net::HTTP appears to be the root cause of the slow-downs. This affects all current couchdb ruby libraries. Here's my writeup: http://ducktyped.com/2008/10/28/couchdb-ruby-libraries-are-fundamentally-flawed.
Ben
-
sco
Serendipitously, this ticket showed up in my news reader right next to an item about a faster Net::HTTP rewrite. Maybe it's a sign. FWIW:
-
Vinícius Manhães Teles
There's a useful analysis of the Net::HTTP problem at:
http://apocryph.org/more_indepth...
If CouchRest could rely on a different implementation like rfuzz or libcurl, I guess it's performance could be a lot better.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.