You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Jan Lehnardt <ja...@apache.org> on 2011/11/01 10:48:51 UTC

Re: couchdb keep-alive and hammock

On Oct 31, 2011, at 20:59 , daniel williams wrote:

> Hi,
> 
> My organization is noticing extremely slow response times when it comes to
> making requests to a remote couch instance on the same network.  We're
> currently using .NET 4.0 and Hammock where .NET has enabled Keep-Alive but
> we're not seeing any benefit.  We've pushed the number of default
> connections to 12x the number of cores on the couchdb client instance with
> no gain.  Currently taking between 200ms best case to write a record to the
> database which currently has minimal data.  We are sending basic
> authentication headers that appear to be transmitted per request to the
> couchdb REST API.
> 
> Does anyone have an idea of what is the best way to maximize throughput to
> couchdb?

Can you write multiple docs at once using the _bulk_docs API?

    http://wiki.apache.org/couchdb/HTTP_Bulk_Document_API

Cheers
Jan
--