jliu1970 commented on issue #1707: java.net.SocketTimeoutException: Read timed 
out
URL: https://github.com/apache/couchdb/issues/1707#issuecomment-435479582
 
 
   Thanks for the recommendations, Joan.
   Jimmy
   
   
   On Fri, Nov 2, 2018 at 1:26 PM Joan Touzet <[email protected]> wrote:
   
   > This is not a CouchDB bug.
   >
   > You have five options:
   >
   >    1. Using the stale=ok option to querying your view, the response will
   >    not wait for the view to finish building.
   >    2. Improve system performance (faster CPU, more RAM, HDD --> SSD -->
   >    NVMe)
   >    3. Force index updating ASAP on a cronjob or similar so that when
   >    queries are made to the view, it is already built
   >    4. Delay compaction so that it only occurs outside of application
   >    usage hours. Put the setting in your local.ini file, here is the
   >    documentation in default.ini
   >    
<https://github.com/apache/couchdb/blob/master/rel/overlay/etc/default.ini#L457-L533>
   >    .
   >    5. Consider moving to Mango
   >    <http://docs.couchdb.org/en/stable/api/database/find.html> from
   >    JavaScript views, as these do not require an external process and are 
much
   >    faster than their equivalent JS 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/1707#issuecomment-435448212>,
   > or mute the thread
   > 
<https://github.com/notifications/unsubscribe-auth/Aac_y5A-MN-42MGpkLyv01NJcY2P_Kc7ks5urI5vgaJpZM4YKZ9l>
   > .
   >
   

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