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

[Subtask] support credential cache in Gravitino server #5621

Closed
Tracked by #4398
FANNG1 opened this issue Nov 20, 2024 · 4 comments · Fixed by #5995
Closed
Tracked by #4398

[Subtask] support credential cache in Gravitino server #5621

FANNG1 opened this issue Nov 20, 2024 · 4 comments · Fixed by #5995
Assignees
Labels
0.8.0 Release v0.8.0 subtask Subtasks of umbrella issue

Comments

@FANNG1
Copy link
Contributor

FANNG1 commented Nov 20, 2024

Describe the subtask

support credential cache in Gravitino server

Parent issue

#4398

@FANNG1 FANNG1 added the subtask Subtasks of umbrella issue label Nov 20, 2024
@orenccl
Copy link
Collaborator

orenccl commented Dec 4, 2024

Could you provide some guidance?

@FANNG1
Copy link
Contributor Author

FANNG1 commented Dec 5, 2024

In a distributed environment, the client may request many credentials in a short time. The server-side needs a cache to cache the credentials to avoid flooding the underlying token service. The cache key may be credential-provider, paths, privilege, and there should be a mechanism to invalidate the cache for the credentials fetched for some time(for example 5mins) to keep the freshness of the credential or invalidate seldom visited credential to keep the cache capacity. and It's better to make the cache more general, to used in server side and client side. In client side, the cache key may be credential-provider name identifier user.

@FANNG1
Copy link
Contributor Author

FANNG1 commented Dec 18, 2024

@orenccl have you worked on this? If not, I'd like to continue work on it for the time limitations, we plan to freeze the code at the end of the month.

@orenccl
Copy link
Collaborator

orenccl commented Dec 18, 2024

Thanks for checking in! I haven't worked on this yet, so feel free to continue if you're on a time crunch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.8.0 Release v0.8.0 subtask Subtasks of umbrella issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants