On Wed, Jan 28, 2009 at 01:32:30AM -0800, Chris Anderson wrote:
> There is an option to delay and batch writes. There has been recent
> changes in the source around this area.  I think the default puts
> performance ahead of absolute consistency, but for critical apps you
> should use X-Couch-Full-Commit: true

OK, I'll have a look round so more to try to understand what's going on.

What would be ideal for me is a commit-with-wait option: e.g. wait up to
100ms before committing and responding. This would allow other requests
arriving within that window to be combined and all of them safely committed
together.

Any particular reason to use a HTTP header rather than a query string
parameter? Most other features seem to be controlled in the latter way.

BTW, I do think the atomic nature of bulk_docs is useful and should be kept,
as it's the only way to get "transaction" semantics at the moment.

Regards,

Brian.

Reply via email to