Skip to content
SPECIFICTION
Get listed

Google Cloud Memorystore vs Ristretto

Google Cloud Memorystore

cloud.google.com

Ristretto

github.com

Side by side

FigureGoogle Cloud MemorystoreRistretto
Price from$0.05/moFree
Free plan—Yes
Free trialYes—
Open source——
WebYes—
Windows—Yes
macOS—Yes
Linux—Yes
APIYes—
Self-hosted—Yes
Plans published41
Spec score · Caching Software8.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

Google Cloud Memorystore pricing →

Ristretto

  • RistrettoFree

Ristretto pricing →

In their own words

Google Cloud Memorystore

Google Cloud Memorystore has no write-up on Specifiction yet; its figures are above.

Visit cloud.google.com

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.

Visit github.com