Revolyssup commented on code in PR #12338: URL: https://github.com/apache/apisix/pull/12338#discussion_r2158224677
########## apisix/utils/batch-processor-manager.lua: ########## @@ -85,7 +86,20 @@ do end -function _M:add_entry(conf, entry) +local function total_processed_entries(self) + local processed_entries = 0 + for _, log_buffer in pairs(self.buffers) do Review Comment: Yes. On 10K created unique plugin configurations, there will be 10K self.buffers. On performance testing the QPS dropped from 6K to 3K. But having 10K unique plugin configuration is not a normal use case. -- 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]
