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

add cached option of guardian #11

Open
mabiede opened this issue Mar 27, 2023 · 0 comments
Open

add cached option of guardian #11

mabiede opened this issue Mar 27, 2023 · 0 comments

Comments

@mabiede
Copy link
Collaborator

mabiede commented Mar 27, 2023

Caching would help a lot when multiple requests of the same type check are handled.

https://ocaml.org/p/containers-data/latest/doc/CCCache/index.html

  • Smart clear algorithm -- clear cache when certain actions are done:
    • role change -> take the uuid of the actor and remove all its elements
    • rule change -> search for actors with the role of the changed rule and remove them
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant