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

Caching information #352

Closed
mrbardia72 opened this issue Feb 7, 2024 · 1 comment
Closed

Caching information #352

mrbardia72 opened this issue Feb 7, 2024 · 1 comment

Comments

@mrbardia72
Copy link
Contributor

Do you have a program to cache information?

Like using Redis

https://github.com/ardanlabs/service/blob/master/business/core/crud/user/stores/usercache/usercache.go

@ardan-bkennedy
Copy link
Contributor

You can rewrite this package to use redis or anything you want. The idea here is you don't make any DB/Network call. The cache is in memory for some period of time.

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

2 participants