Managed Cache
What is Managed Cache?
Managed Cache: A managed in-memory key-value store for caching. Dramatically speeds up database queries and session storage. (AWS: ElastiCache (Redis / Memcached); GCP: Memorystore; Azure: Azure Cache for Redis) A managed cache is an in-memory data store, usually Redis or Memcached, run for you by a cloud provider. Examples are AWS ElastiCache, Google Memorystore, Azure Cache for Redis and the managed Redis offerings of DigitalOcean and others.
Frequently asked questions about Managed Cache
How is Managed Cache used in practice?
Applications use it to store sessions, cached query results, rate-limit counters and queue jobs. Reading from memory is many times faster than querying a database.
What should you keep in mind with Managed Cache?
Managed means the provider handles setup, patching, failover and monitoring. You still decide what to cache and for how long, and you should treat cache data as disposable: the application must work, if slower, when the cache is empty. Keep it in a private network, require authentication, and remember that a cache full of sessions or personal data deserves the same protection as a database.
At a glance
| Category | Cloud services |
|---|---|
| Explained by | Reinier de la Parra |
| Updated |