couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Davis" <>
Subject Re: a question about view servers...
Date Tue, 30 Dec 2008 18:20:27 GMT
On Tue, Dec 30, 2008 at 12:35 PM, Sean Allen
<> wrote:
> what impact does the speed of the view server have on returning results?

The speed of any particular view server is only going to affect
generation times and views with reduces. When not performing a reduce
and querying a view that has no updates, CouchDB never touches the OS
process at all.

> for example, 3 listed on the wiki are...
> lisp, ruby and python ones.
> i know from having written code for all 3 that in general,
> sbcl outperforms python which outperforms ruby.
> would this be the case with a view server? is there much of a difference?
> given that the view server communication channel is stdin and stdout,
> should i be more concerned about startup time for view server? compiling the
> code, loading in modules etc?

CouchDB reuses view server processes for generating views. Forgiving
some caveats, view server startup is a onetime cost. Once the OS
process is spawned, it is reused for view generation.


View raw message