couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Shorin <kxe...@gmail.com>
Subject Re: Ideas for improving ddocs performance ??
Date Fri, 08 May 2015 15:56:38 GMT
One idea was already discussed on ML, IRC and pretty trivial: provide
cache-friendly show/list functions with deterministic output. Mostly,
could be solved by using stateless template engine like mustache on
server side and side-effect less logic. The results could be cached on
disk as like as views ones does and all show/list requests are turns
into building and serving static content from disk.

Another is to improve communication with query server, thought, it's
less trivial than the former one.

--
,,,^..^,,,


On Fri, May 8, 2015 at 6:48 PM, Giovanni Lenzi <g.lenzi@smileupps.com> wrote:
> Hi everyone,
>
> on the marketing@ list has emerged the need for improving ddocs performance.
>
> @ermouth said: Also couchapps generally have very poor perfomance – because
> json
> serialization/deserialization while transmitting data from map to _list and
> _show functions is slow.
>
> What do you think are ddocs performance bottlenecks and is there a way to
> fix them?
>
>
> --
> Giovanni Lenzi
> www.smileupps.com
> Smileupps Cloud App Store

Mime
View raw message