ranxuxin commented on PR #9265: URL: https://github.com/apache/apisix/pull/9265#issuecomment-1502909007
I tested apisix-2.9 and the improved version again. machine: 8core 2GHz 32G memory, apisix worker auto wrk -c1000 -d60s -t8 --latency --timeout=15s http://www.aaabbb1122.com:9080/123 update one route every 0.5 second. And more than 10 thousand routes exist in apisix. - apisix 2.9 improved version:  the elapsed time of dealing with updating one route:  - apisix 2.9 original version:  the elapsed time of dealing with updating one route:  conclusion: From the test between apisix 2.9 improved version and original version, the improved version has much better performance during dealing with update route requests. The reason is that the improved version only find and update the updated route in radixtree and lua hash table. By comparison, the original version creates the whole radixtree when updating one route. The influence is amplified when large amount of routes exist in apisix. -- 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]
