Azure Redis Cache by Patrik

Best Practices for Azure Redis Cache

  • Watch out for data loss. Never rely on a key being present. It may have expired or been evicted.
  • Set expiry times to manage the content lifetime.
  • Add jitter to spread database load that is varying the expiry time to spread the load on origin.
  • Avoid caching large objects and consider breaking them down into smaller separate objects.
  • Host Redis in the same region as the application
  • As a security best practice, do not enable non-SSL port connection as all data that will pass through that connection would not be encrypted.
Azure Redis Cache
Best Practices

Comments