tokers commented on issue #4294: URL: https://github.com/apache/apisix/issues/4294#issuecomment-849507506
> @tokers , the route does not change frequently. But when it needs to change, the nginx worker will not work unitl the route cache has finished rebuilt. Maybe during the small duration, the APISIX node is having a bad time window that not performs as bofore. While I am sure it will recover soon, but it is a problem that asked to be resovled in my company. > And another one question, the k8s pods change frequently. Is it a perfmance problem for APISIX watching and updating when serving requests? Maybe we can optimize the route building process, let it be asynchronous, and replace the current radix tree object after the building is done, what's more, adding some points in the building process so that the building coroutine can be yielded and requests can still be handled (with the old radix tree object). Anyway, just my shallow thoughts. Upstream Nodes changes won't be a problem as it's referenced passively. -- 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]
