Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a caching layer for role management #17538

Closed
AnuradhaSK opened this issue Nov 3, 2023 · 2 comments
Closed

Add a caching layer for role management #17538

AnuradhaSK opened this issue Nov 3, 2023 · 2 comments

Comments

@AnuradhaSK
Copy link
Contributor

Describe the Improvement:

  • A new service has been introduced for role management as RoleManagerV2
  • To improve the performance of the service, a caching layer is required.
@dewniMW
Copy link
Contributor

dewniMW commented Dec 1, 2023

Adding a caching layer must be done carefully as the role has dependencies with other components such as groups, users, IdPs, applications, API resources and permissions. The cache invalidation must be handled based on any modifications for these components.
Therefore we initially decided to analyze the possibility of cache permissions against a role. Upon further analysis, there is an issue with invalidating cache when an API resource gets deleted, which has been handled as a cascade delete at db level. Hence there are complexities with invalidating the cache.

@isharak
Copy link
Member

isharak commented Nov 7, 2024

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!

@isharak isharak closed this as completed Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants