On Tue, Dec 30, 2008 at 12:35 PM, Sean Allen
<[email protected]> 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.

Paul

Reply via email to