On Fri, Jan 9, 2009 at 4:40 PM, Josh Bryan <[email protected]> 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
