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

GSOC: Shared Redis TTL cache #83

Closed
2 tasks done
GopherJ opened this issue Apr 5, 2020 · 4 comments
Closed
2 tasks done

GSOC: Shared Redis TTL cache #83

GopherJ opened this issue Apr 5, 2020 · 4 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed
Milestone

Comments

@GopherJ
Copy link
Member

GopherJ commented Apr 5, 2020

  • Design Cache trait, make CachedEnforcer being able to accept external cache.
  • Implement redis TTL cache.

Please comment below if you have sent proposal and if you'll work on this.

@hsluoyz hsluoyz added enhancement New feature or request help wanted Extra attention is needed labels May 4, 2020
@GopherJ
Copy link
Member Author

GopherJ commented May 4, 2020

This purpose of a shared redis TTL cache is to be able to use the same cache with multiple enforcers.

Otherwise image 4 enforcers, they all have their own cache. It'll need to send 5 requests for being able to use result from cache.

@hsluoyz hsluoyz pinned this issue May 4, 2020
@hsluoyz
Copy link
Member

hsluoyz commented May 4, 2020

@hackerchai

@hackerchai
Copy link
Member

@hackerchai

Get it. It's in the list of my plan.

@GopherJ GopherJ modified the milestones: v1.0.0, v2.0.0 May 9, 2020
@hsluoyz hsluoyz unpinned this issue May 19, 2020
@GopherJ
Copy link
Member Author

GopherJ commented Aug 16, 2020

It's now https://github.com/casbin-rs/redis-cache, not published to crates.io yet

@GopherJ GopherJ closed this as completed Aug 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants