danhuawang opened a new issue, #8089: URL: https://github.com/apache/gravitino/issues/8089
### Version main branch ### Describe what's wrong 1. Enable auth and cache ``` # THE CONFIGURATION FOR Gravitino Entity Cache gravitino.cache.enabled = true gravitino.cache.maxEntries = 10000 gravitino.cache.expireTimeInMs = 600000 gravitino.cache.enableStats = true gravitino.cache.enableWeigher = true gravitino.cache.implementation = caffeine # THE CONFIGURATION FOR authorization gravitino.authorization.enable = false gravitino.authorization.serviceAdmins = anonymous,service_admin gravitino.authenticators = simple gravitino.authenticator.oauth.serviceAudience = test ``` 2. List tables cost almost 19s , retry serval times, the same response time. But after I disable the authorization. List 1000 tables cost only 0.31s. <img width="827" height="875" alt="Image" src="https://github.com/user-attachments/assets/c9a53310-b95a-4626-a8ae-5a6f3b19af8f" /> ### Error message and/or stacktrace N/A ### How to reproduce 1. list tables under schema , tables count is 1000 2. Check response time: `auth enable,cache enable` vs `auth disable,cache enable` ``` curl -o /dev/null -s -w " time_namelookup: %{time_namelookup}s time_connect: %{time_connect}s time_appconnect: %{time_appconnect}s time_pretransfer: %{time_pretransfer}s time_redirect: %{time_redirect}s time_starttransfer: %{time_starttransfer}s time_total: %{time_total}s " "http://10.0.4.218:8090/api/metalakes/pm/catalogs/mysql_1/schemas/mydb_tree_9/tables" ``` ### Additional context _No response_ -- 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: commits-unsubscr...@gravitino.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org