You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Currently, only in-memory storage is supported. Are there any plans to support Redis in the near future? If not, I'd be happy to help! :-)
Do you have any guidelines for the implementation?
Here are my initial ideas:
implement a Redis version for the PolicyStore, SchemaStore and DataStore Traits.
Use an async connection pool, e.g., bb8
Load/save policies, schema and entities directly from/to Redis.
Since the Cedar engine requires the entire PolicySet for each authorization, keep the PolicySet in memory and synchronize it via Redis subscription on changes.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
Currently, only in-memory storage is supported. Are there any plans to support Redis in the near future? If not, I'd be happy to help! :-)
Do you have any guidelines for the implementation?
Here are my initial ideas:
implement a Redis version for the PolicyStore, SchemaStore and DataStore Traits.
Use an async connection pool, e.g., bb8
Load/save policies, schema and entities directly from/to Redis.
Since the Cedar engine requires the entire PolicySet for each authorization, keep the PolicySet in memory and synchronize it via Redis subscription on changes.
Looking forward to your Feedback.
Christian
Beta Was this translation helpful? Give feedback.
All reactions