couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Anderson" <jch...@gmail.com>
Subject Re: Write Performance
Date Sat, 10 Jan 2009 04:09:59 GMT
On Fri, Jan 9, 2009 at 4:40 PM, Josh Bryan <jbryan@cashnetusa.com> wrote:
>
> #!/usr/bin/ruby
> require 'rubygems'
> require 'couchrest'

There are some hard-to-fix limits on performance of Ruby's Net/HTTP library.

It's hard to find a perfect reference online, but this post covers all
the bases: http://apocryph.org/2008/11/09/more_indepth_analysis_ruby_http_client_performance/

I also had a hard time getting concurrency higher than 10 from Ruby
but that my be my MacBook.

Perhaps you could try one of your common queries with Apache bench?

It would be worth investigating JRuby HTTP performance, especially
multi-threaded.

-- 
Chris Anderson
http://jchris.mfdz.com

Mime
View raw message