9268 commented on PR #12353:
URL: https://github.com/apache/apisix/pull/12353#issuecomment-3712910475

   > Currently nacos discovery uses event library and during testing it was 
found out that when using lua-resty-events, sometimes not all workers get the 
events. And inconsistencies emerge. Moreover the idiomatic way to share data 
between workers is through a shared dict. Therefore this PR migrates nacos from 
older events mechanism to newer shared dict way. Now only priviliged agent will 
fetch data from nacos and write to shdict while all workers will read from it.
   
   @Revolyssup I'm upgrade apisix from 3.7 to 3.14.1,my nacos server get 40x 
requests than original apisxi(worker=40),it seems every worker is fetching data 
from nacos,i checked `apisix/discovery/nacos/init.lua` and not found 
restriction applied on timer running on special worker, the concurrent of nacos 
reqs is unacceptable,is this a feature or a bug?


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