wohali commented on issue #278: Document best configuration settings for 
low-spec HW
URL: 
https://github.com/apache/couchdb-documentation/issues/278#issuecomment-447390215
 
 
   @mikeymckay If you're only running a single server, you are by your very 
nature `n=1`. If you use the Setup Wizard (either through Fauxton or the cli) 
and tell it you only have a single node, you will get `n=1`. The preferred 
deployment scenario for CouchDB 2.x is a minimum of 3 servers and `n=3` for 
full redundancy. This is far superior to using 2x `n=1` servers and replicating 
between them as we did in 1.x for many reasons that I'm not going to go into 
right now.
   
   As for `q`, Jan's advice is correct. The default `q=8` value was chosen 
because servers at the time tended to have 4 cores with 2 threads each. This 
matches well with multiple spindles, or a single SSD, for performance. 
(Remember that disk performance also is a critical factor for view building). 
Finally, if you don't make much use of JS views, or have migrated off onto the 
higher-performance Mango, you need less CPU, and the sharding will definitely 
improve your performance.
   
   As always, before putting anything into production, **test**.  :)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to