-
-
Notifications
You must be signed in to change notification settings - Fork 77
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
casbin cache #171
Comments
|
@liergou99 BTW, we have also this repo if you would like to contribute: |
|
@hackerchai could you help solving this issue? I know that you are already maybe available BTW @liergou99 why are you using multiple |
Get it |
Enterprise level projects usually use multiple service nodes to achieve load balancing or dynamic expansion. If each node uses its own memory for data caching, data consistency between nodes cannot be guaranteed. |
It's now https://github.com/casbin-rs/redis-cache, but not published to crates.io yet because it only works with |
The problem with caspin caching is as follows::
1.If the system is load balanced through multiple servers,It is more convenient to store permission data only through the database,If the cache is used, it is easy to cause data inconsistency among multiple servers
2.My system has permission tables and does not want to use sqlx-adapter table.
The text was updated successfully, but these errors were encountered: