On Fri, Mar 20, 2009 at 5:03 AM, Cedric Vivier <[email protected]> wrote: > On Fri, Mar 20, 2009 at 4:49 PM, Paul Davis > <[email protected]>wrote: > >> A slight clarification, JS itself is multi-threaded. Couchjs is just >> not implemented as a threaded view server. I've contemplated giving >> view servers the ability to exectute multiple jobs simultaneously but >> there are a couple of things that make it not a priority. > > > I also think keeping view servers as simple as possible makes sense. > Otoh is it possible to make CouchDb evenly distribute jobs to several > spawned couchjs view server instances?
Not yet. The idea has been floated, but the disk IO caveat lurks there like a menacing monster. > (and the OS scheduler would make sure that the different view server > processes ends up running on different cores I guess... though of course the > 'bottleneck' might be the I/O anyways) > > Regards, >
