Caching

Rocky Warren
Rocky Warren
December 29, 20201 min read
  • Redis cache aside, external to internal cache fallback, hard and soft ttl, negative caching of errors, cache as serialized proto, coalesce requests before sending to cache, load test with caches disabled
  • Cache even dynamic data for couple secs
  • Write through with lazy loading and TTL
  • Use RDB and AOF persistence in Redis