yujiantao commented on issue #7770: URL: https://github.com/apache/gravitino/issues/7770#issuecomment-3208883611
I have a balanced solution: 1. When the user's first request comes in, create an enforcer for the user and cache it in memory. 2. In the enforcer, an adapter periodically reloads policies of the user to keep the enforcer updated. 3. Evict the enforcer from the cache if it is not accessed for a while, like 5 minutes. -- 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]
