incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Candler <B.Cand...@pobox.com>
Subject Re: couchdb server connection refused error
Date Wed, 12 Aug 2009 20:36:17 GMT
On Mon, Aug 10, 2009 at 01:31:59PM -0700, Tommy Chheng wrote:
> NsfGrant.all will make one query(per paginated result) but I make  
> another query PER document to get a document's word count list(via a  
> view) in the NsfGrantSimilarity.compute_and_store method.  so it will be 
> trying to do 30k separate requests.

Then you will speed up your application tons by doing this in batches using
a multi-key fetch with POST :-)

Cheers,

Brian.

Mime
View raw message