luca-simonetti commented on issue #5044:
URL: https://github.com/apache/couchdb/issues/5044#issuecomment-2090460806

   Thanks for the reply!
   I don't think the issue is with queries not being completed, since 
   
   a. we do them in series - i.e. we wait for one response before throwing the 
new query
   b. we even have a sleep(.5) after each request before throwing another one.
   c. resources -- namely CPU and memory -- are pretty good (like 10% CPU and 
10% memory usage)
   
   from an outside point of view looks like there's some kind of _short term 
memory cache_ which gets bigger and bigger and each query traverses the whole 
object which gets bigger and bigger all the time.
   
   for the record: the requests right after the service restart take somethink 
like few milliseconds, whereas request after some few thousands get even to 
120.000 ms (which is the maximum amount of time for us before calling it a day 
and raising an exception)
   
   we'll try benchmarking with `ab` 


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to