jliu1970 commented on issue #1429: Access to CouchDB view return timeout
URL: https://github.com/apache/couchdb/issues/1429#issuecomment-403850251
 
 
   Thanks again for the quick response, Joan.
   
   We have a couple of Docker containers running on one 4 core machine.
   CouchDb has its own container. We try to raise the cpu-share of the CouchDB
   to a much higher number than the rest of the containers. Can you advise on
   what I should monitor in the couchDB log to verify that it is allocated to
   more than one 1 CPU?
   
   Thanks again,
   Jimmy
   
   On Tue, Jul 10, 2018 at 9:30 AM, Joan Touzet <[email protected]>
   wrote:
   
   > Can you confirm that adding a CPU core fixed your problem?
   >
   > Erlang itself will run fine on 1 CPU. It comes down to your number of
   > simultaneously building JavaScript views. Each building view will use a
   > separate couchjs process. If you build them sequentially in your client
   > app, you can get away with 2 cores. If you expect to build *e.g.* 5 at
   > once then you need 1+5 = 6 cores. The number of documents & size doesn't
   > enter into it, except that it affects how long it takes to build each view.
   >
   > —
   > You are receiving this because you authored the thread.
   > Reply to this email directly, view it on GitHub
   > <https://github.com/apache/couchdb/issues/1429#issuecomment-403843602>,
   > or mute the thread
   > 
<https://github.com/notifications/unsubscribe-auth/Aac_y6k34aY2x6flf8guAuOzyjP4RPNfks5uFLqYgaJpZM4VInxh>
   > .
   >
   

----------------------------------------------------------------
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