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

Caching in the OpenFGA SDKs #395

Open
1 task done
rhamzeh opened this issue Jul 18, 2024 · 0 comments
Open
1 task done

Caching in the OpenFGA SDKs #395

rhamzeh opened this issue Jul 18, 2024 · 0 comments
Labels
enhancement New feature or request epic

Comments

@rhamzeh
Copy link
Member

rhamzeh commented Jul 18, 2024

Checklist

Describe the problem you'd like to have solved

FGA users can incur a latency cost. Caching at the server helps, but users still have to incur the roundtrip tax, caching at the SDK level should help alleviate these concerns and give users more control over the caching strategy

Describe the ideal solution

We would like to allow users to configure caching in the FGA SDKs - we can support an optional in-memory cache as well as an optional external redis (as a start) cache.

The cache needs to be configurable per method and per request. Users should be able to set their own rules for when to go to the cache and when to skip and what the TTL would be

Alternatives and current workarounds

No response

References

Roadmap Item: openfga/roadmap#18
Milestones: TBD

Additional context

No response

@rhamzeh rhamzeh added enhancement New feature or request epic labels Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request epic
Projects
Status: Backlog
Development

No branches or pull requests

1 participant