Reduce latency with scalable, secure, and highly available in-memory managed service for Redis and Memcached.
Memorystore provides caching data capabilities using a very low-latency storage mechanism. It acts as a front-end for databases and powers real-time applications with fast read/write speeds for real-time dashboards.
Memorystore integrates seamlessly with open-source projects and Google Cloud services, making High-Availability easy and allowing scaling up to 30GiB Storage and 12 GPS throughput.
Tiers determine availability, cost, and performance.
Memorystore does not support persistence, so it should not be used for applications that need to save data to persistent storage (RDB Snapshot in Preview).
Even though it’s a managed service, you must monitor the following:
| Feature | Redis | Memcached |
|---|---|---|
| Overall | Powerful data types & commands | Great for multi-thread and simplicity |
| Data Types | Strings, list, sets, sorted set, hashes, bit arrays, geospatial and hyper logs | strings |
| Memory Limit | 300 GB | 5,120 GB (256 GB x 20 nodes) |
| Data size limits | 512 MB (string type) | 1 MB |
| Latency | Sub-milliseconds | Sub-milliseconds Faster in general |
| Distributed caching cluster | Yes | No |
| Multi-thread | Yes | Yes |
| Scaling | Horizontal | Vertical |
| Replication | Yes | No |
| Transaction | Yes | No |
| Data Persistence | No (as of GA) | No |
Memorystore for Redis clusters distribute data across multiple nodes, improving read scalability.
Q1. Which Google Cloud services can integrate seamlessly with Memorystore without code changes?
Q2. What is the key difference between Basic and Standard Tiers for Redis?
Q3. Can Memorystore be used as a persistent storage database?
Q4. When comparing Memorystore to Memcached, what is a distinct feature of Redis regarding data types?
Q5. What does the force-data-loss failover mode do during testing?