On Jan 27, 2013, at 13:22 , Alexander Shorin <[email protected]> wrote:

> On Sun, Jan 27, 2013 at 3:55 PM, Jason Smith <[email protected]> wrote:
>> 
>> * Very little difference in different implementations (because stdio is the
>> bottleneck)
> 
> Why stdio is a bottleneck? I'm interesting underlay reasons.

It is actually not the the stdio, but the serialisation form erlang-terms to 
JSON to JS Objects to JSON to erlang terms.

Cheers
Jan
-- 


> 
> As for my experience, the protocol design doesn't allows view and
> query servers works faster as they can. For example, we have 50 ddocs
> with validate functions. For each document save there would be
> executed from 100 commands (50 resets + 50 ddoc validate_doc_update
> calls) till 150 commands (+ddocs caches), while it's possible to
> process them in bulk mode.
> 
> --
> ,,,^..^,,,

Reply via email to