You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "soulbird (via GitHub)" <gi...@apache.org> on 2023/03/27 14:36:32 UTC

[GitHub] [apisix] soulbird commented on issue #9140: help request: send Put method admin request frequently costs apisix cpu high(about 100%) when more than 15 thousand routes exist in apisix

soulbird commented on issue #9140:
URL: https://github.com/apache/apisix/issues/9140#issuecomment-1485231765

   Creating a new route does trigger a rebuild of the route radix tree, which involves a lot of table creation and gc, which usually consume CPU, which is currently unavoidable.
   Can you consider reducing the frequency of routing updates to reduce CPU consumption?
   In addition, you can observe CPU performance problems through flame graphs. For APISIX, you can refer to the script here: https://github.com/apache/apisix/blob/master/ci/performance_test.


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org