spacewander commented on issue #2899:
URL: https://github.com/apache/apisix/issues/2899#issuecomment-736510902


   Some interesting results:
   1. every auth request is terminated after 5 seconds. It is because 5 is 
hardcoded as timeout value: 
   
https://github.com/api7/lua-resty-etcd/blob/c45cfab8d4186c931ebfc3ea87ebcea5624b7122/lib/resty/etcd/v3.lua#L215
   2. requests are in batch. We can add some random number to smooth the auth 
requests.
   
   Some strange results:
   1. the number of requests is bigger than what 4 workers can create (about 
2.5x I guess). I can't reproduce it at my side. Need to log the backtrack when 
the request is fired.
   2. Even under high pressure, there should be a few requests which can be 
achieved. However, all requests were failed. I doubt if the etcd has been 
hanged on for a while.


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


Reply via email to