incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Anderson <jch...@apache.org>
Subject Re: 0.9 to 0.10 breaking changes
Date Fri, 28 Aug 2009 16:54:58 GMT
On Fri, Aug 28, 2009 at 8:41 AM, Fabio Forno<fabio.forno@gmail.com> wrote:
> On Fri, Aug 28, 2009 at 4:45 PM, Paul Davis<paul.joseph.davis@gmail.com> wrote:
>> By default, reduce output must be less than half the size of it's
>> input when. Input and output data sizes are measured by the length of
>> their serialized JSON representations. This check is only made when
>> the length of the serialized output is greater than 200 characters.
>>
>
> Why less then half? Suppose I must merge two docs A,B where I'm
> counting the occurrences of a set of items ans size(A) >> size(B),
> size(out) would be less than size(input), but more than half of it
>

Really the requirement should be less than 1/10th or so (decrease at
roughly log(N) rate) but I put in 1/2 because it's just a rough rubric
to catch the worst offenders.

> --
> Fabio Forno, Ph.D.
> Bluendo srl http://www.bluendo.com
> jabber id: ff@jabber.bluendo.com
>



-- 
Chris Anderson
http://jchrisa.net
http://couch.io

Mime
View raw message