Closed mrbardia72 closed 3 months ago
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
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.
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