-
-
Notifications
You must be signed in to change notification settings - Fork 74
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-raft implementation #114
Comments
On the same machine we don't need multiple enforcers, we just need to wrap enforcer inside We only need this when there are multiple enforcers on different machines and they need to synchronize each other. |
Not sure if: https://github.com/railgun-rs/actix-raft helps |
It seems that we can try to use actix-raft first, here an example project I found: |
Let's start the work from here: https://github.com/casbin-rs/casbin-raft and try to implement it step by step so that casbin scales well |
I don't really like the idea of watchers because it's buggy and heavy, image when one enforcer
AddPolicy
, the others need to reload all the policies from DB.....we should find other solutions.
See also: casbin/casbin#421
The text was updated successfully, but these errors were encountered: