d8tltanc commented on pull request #9485: URL: https://github.com/apache/kafka/pull/9485#issuecomment-738942757
Make a new aggregated index called ResourceIndex, which is a combination of ACE, ResourceType, and PatternType. New benchmark looks much better: https://paste.ubuntu.com/p/FkyGhb9MrQ/ When `aclCount=100` and `resourceCount=200000`, in the worst case where every "allow resource" of a given ACE has a dominant "deny resource" and the "deny resource" name is allow_string.substring(0, len-1), the time cost is 45.897 ± 4.748 ms/op ---------------------------------------------------------------- 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: us...@infra.apache.org