couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Li Zhengji <zhengji...@gmail.com>
Subject Re: some thoughts on view
Date Fri, 20 Nov 2009 03:06:56 GMT
Hi Jan,

On Thu, Nov 19, 2009 at 9:50 PM, Jan Lehnardt <jan@apache.org> wrote:
>
> Why is the current implementation not a good idea? It works well :)
>
> Cheers
> Jan
> --

Because it's not a good idea to implement the same thing several
times. Bulbs work well, but compact fluorescent lamps are better, :)

It could be a bit terrible when upgrading the map function shared by
several views. It's even worse when the upgrading is just an
optimization: if we forget to upgrade some views' map function, the
total performance downgrades, which will be hard to figure out.

In current implementation, design docs are self-contained. This is the
advantage. Am I correct?

-- 
Li Zhengji

Mime
View raw message