Google Cloud Memorystore vs Ristretto
Google Cloud Memorystore
cloud.google.comRistretto
github.comSide by side
| Figure | Google Cloud Memorystore | Ristretto |
|---|---|---|
| Price from | $0.05/mo | Free |
| Free plan | — | Yes |
| Free trial | Yes | — |
| Open source | — | — |
| Web | Yes | — |
| Windows | — | Yes |
| macOS | — | Yes |
| Linux | — | Yes |
| API | Yes | — |
| Self-hosted | — | Yes |
| Plans published | 4 | 1 |
| Spec score · Caching Software | 8.0 (#8) | 7.5 (#13) |
Plans
Google Cloud Memorystore
- Memorystore for Redis$0.05 a month
- Memorystore for Redis Cluster$0.19 a month
- Memorystore for Valkey$0.19 a month
- Memorystore for MemcachedPrice not published
In their own words
Google Cloud Memorystore
Google Cloud Memorystore has no write-up on Specifiction yet; its figures are above.
Ristretto
Ristretto is a free, open-source Go library for an in-process cache of key-value data, designed for concurrent use, performance and correctness. It keeps data in memory in a single process rather than operating as a distributed cache. TinyLFU admission and SampledLFU eviction are paired to target high hit ratios; applications define item cost, allowing a valuable large item to displace several smaller ones. The project attributes throughput to contention management, batching and eventual consistency. Goroutines can use the cache concurrently with little throughput degradation, according to the project, and optional metrics cover throughput, hit ratios and other statistics. A Set for a new item may be dropped in the Set buffer or admission policy, while updates are guaranteed. Ristretto requires Go 1.21 or later and Go modules. Version 2 supports generics, which the project recommends for new programs. The repository is licensed under Apache License, Version 2.0, and describes the library as production-ready. Its README names Badger and Dgraph as projects using it.