kocolosk commented on issue #2037: Add "Dreyfus" (Erlang side of Search) to 
CouchDB
URL: https://github.com/apache/couchdb/pull/2037#issuecomment-503388033
 
 
   The latest commit preserves the exponential backoff for Search requests, but 
if the final error message indicates an inability to connect to Clouseau the 
error message will be
   
   ```
   {"error":"ou_est_clouseau","reason":"Could not connect to the Clouseau Java 
service at [email protected]"}
   ```
   
   That seems like a reasonable improvement to me.
   
   I also did an ad hoc measurement of the time required to do the 
`clouseau_rpc:connected()` check. Unfortunately, on a Kubernetes deployment 
with CouchDB and Clouseau in the same Pod this check cost more than **3 
milliseconds**, which seems an unacceptably long amount of time to waste on the 
happy path. I will think a bit more about how to guard those Mango requests in 
a way that doesn't introduce too much latency to a well-configured system.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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