Alibaba Cloud Tair vs Ristretto
Alibaba Cloud Tair
alibabacloud.comRistretto
github.comSide by side
| Figure | Alibaba Cloud Tair | Ristretto |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | Yes | — |
| Open source | — | — |
| Web | Yes | — |
| Windows | — | Yes |
| macOS | — | Yes |
| Linux | — | Yes |
| API | Yes | — |
| Self-hosted | — | Yes |
| Plans published | 2 | 1 |
| Spec score · Caching Software | 7.9 (#9) | 7.5 (#13) |
Plans
Alibaba Cloud Tair
- Tair (Redis® OSS-Compatible) - Enterprise EditionFree
- Tair (Redis® OSS-Compatible) - Open Source EditionFree
In their own words
Alibaba Cloud Tair
Alibaba Cloud Tair is a cloud database service for applications that need high-throughput, low-latency operations using the Redis protocol. It supports strings, lists, sets, sorted sets, hashes, streams, transactions, and Pub/Sub, with standalone, master-replica, cluster, and read/write-splitting architectures. The product page describes compatibility with multiple open-source Redis versions and migration without application code changes, plus online scaling without downtime and point-in-time recovery accurate to the second. Additional structures include distributed locks, multidimensional leaderboards, sliding windows, and JSON file storage. Its management platform monitors CPU, memory, connections, and disk use, with alerts, audit logs, and diagnostic reports. Security options include IP whitelists, VPC access, TLS in transit, transparent RDB encryption, and backups. Integrations include OpenAPI, Alibaba Cloud SDKs, CLI, and Resource Orchestration Service; SDKs are listed for Java, C#, Go, Python, Swift, TypeScript, PHP, and C++. New users can access either listed 30-day, 1 GB RAM trial plan at free.
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.