couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Lehnardt <...@apache.org>
Subject Re: CouchDB and future
Date Thu, 10 Oct 2019 12:09:38 GMT
Hi ermouth,

thanks for providing these. Do you have a feeling for a scenario with q>1 on a single-core.
single-thread system?

Best
Jan
—

> On 4. Oct 2019, at 23:40, ermouth <ermouth@gmail.com> wrote:
> 
> This tuned out to be interesting, results vary heavily for different
> platforms.
> 
> I included `perftest.html` into Photon design doc. The utility gives good
> insight how q,n impact doc creation, doc update, validate + update, and
> viewindex create/update – for a particular CouchDB instance.
> 
> Common observations:
> * q=1 is only ok for rare special cases (like DBs with dozen docs)
> * it’s ok to have q==cores or q==cores+1 or even cores+2: write perf drops
> a little, but viewindex update is bit faster
> * excessive q (say, more than cores×2) negatively impacts direct write
> perf: having q8 for 2core at least halves write perf for most
> commodity/lean platforms and hw cfg.
> 
> ermouth
> 
> 
> чт, 11 июл. 2019 г. в 18:17, Joan Touzet <wohali@apache.org>:
> 
>> On 2019-07-11 8:05, ermouth wrote:
>>>> to help with the documentation step
>>> 
>>> Probably. Please give me a hint what you need.
>> 
>> What default settings right now are wrong for a system with low RAM, low
>> CPU, and slow disk - such as a RaspberryPi v1, or a $15/mo AWS server?
>> 
>> -Joan
>> 
>> 

-- 
Professional Support for Apache CouchDB:
https://neighbourhood.ie/couchdb-support/


Mime
View raw message