Introduction Caches are data storage layer that are used to avoid doing operation that is expensive or hard to compute. The following examples can be characterised as an expensive operation: Essentially, caches are like a water jug kept on the dining table. They will be replenished from tap water when they are empty. Having aContinue reading “Design a TTL based in-memory cache in golang”