Thank you Rick and Jason for the pointers
On Saturday, December 11, 2021 at 2:12:55 AM UTC+5:30 Rick wrote:
> Don't forget to think about cache coherency. Caching is more involved with
> multiple caching microservices talking to the database. Creates and updates
> require notification of all re
Don't forget to think about cache coherency. Caching is more involved with
multiple caching microservices talking to the database. Creates and updates
require notification of all replicas to refresh their caches.
On Thursday, 9 December 2021 at 23:08:16 UTC-8 Jason E. Aten wrote:
> You might pr
You might prefer a fixed size cache rather than a TTL, so that your cache's
memory size never gets too big. This is also simpler logic, using just a
map to provide the cache, and a slice to constrain the cache size. It's
almost too short to be a library, see below. Off the top of my head -- no