couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Newson <rnew...@apache.org>
Subject Re: View generation parallelism
Date Mon, 10 Sep 2012 23:08:34 GMT

Each view group will build independently of each other. A view group is all the views in the
same design document. Update handlers will run in separate couchjs processes.

The total number of couchjs processes is controlled by the [couchdb] os_process_limit parameter.

On 10 Sep 2012, at 22:06, Andrew Melo wrote:

> Hello all,
> 
> Can someone remind me (I'm having trouble finding it) the way couch decides
> to split up work to external couchjs processes? If I have a couch server
> with several databases and several design documents, each with several view
> and _update handlers, how many ways will couch partition the task of
> generating views and executing _update handlers? Does each database/view
> document get one process, or is the logic more complex? Along with that do
> views and _update handlers run in the same couch process?
> 
> Thanks in advance,
> Andrew
> 
> -- 
> --
> Andrew Melo


Mime
View raw message