openfga / roadmap

OpenFGA Public Roadmap
2 stars 0 forks source link

Simple Caching Implementation #38

Closed aaguiarz closed 9 months ago

aaguiarz commented 10 months ago

Implement a per-node sub-problem cache.

It should cache 'Check' results in-memory. This will speed up check queries that traverse the same paths more than once and check queries that are frequently used.

wcurrie commented 6 months ago

This ticket is marked "Done" but did any cache get implemented (for OpenFGA)?

Would be great if the issue/PRs with the implementation were linked. From https://github.com/openfga/roadmap/issues/21 it seems like this is not Done.

wcurrie commented 6 months ago

Ah, https://github.com/openfga/roadmap/issues/21 is still open. Maybe this was just a duplicate.

aaguiarz commented 6 months ago

We split the task in two, one for a 'simple caching implementation' that has a cache-per-node, and another one that implies a distributed cache. This other one is open, this one is closed :)

aaguiarz commented 6 months ago

PR with the implementation https://github.com/openfga/openfga/pull/891