Garnet

B
B tier on Caching SoftwareScore 7.1 · #4 of 26
Android app
Not listed
Free plan
Yes
Runs on
Linux, Mac, self-hosted, Windows
microsoft.github.io
The Garnet homepage

Summary

Garnet is a free remote cache-store from Microsoft Research for self-hosted use. It uses the RESP protocol and works with many unmodified Redis clients, including StackExchange.Redis. Its APIs cover strings, lists, hashes, sets, sorted sets, geo operations, HyperLogLog, bitmaps, ACLs, pub/sub, transactions, and Lua scripting. It can handle datasets larger than memory using local or cloud storage, with checkpointing and recovery. Multi-node cluster mode supports sharding, state migration, and replication. Developers can add C# data structures and read-modify-write operations through a custom operator framework. Garnet supports TLS/SSL connections and RESP password-based authentication. Vector database support using DiskANN and range index support using Bf-Tree are marked as preview features. The project is MIT-licensed, but is not intended as a fully compatible Redis drop-in replacement and does not support Redis modules. Self-hosted users manage infrastructure, updates, and operations. Azure Cosmos DB Garnet Cache, a managed service, is in expanded Private Preview; no price is listed.

Who it is for

Garnet may suit developers seeking a self-hosted cache-store with RESP support, storage beyond memory, or multi-node clustering. Teams that need full Redis drop-in compatibility or Redis modules should note its stated limitations.

What is good

  • MIT-licensed and free for self-hosting.
  • Works with many unmodified Redis clients.
  • Supports checkpointing and recovery for larger-than-memory datasets.
  • Cluster mode supports sharding and replication.
  • TLS/SSL and password-based authentication are supported.

What to know first

  • Not a fully compatible Redis drop-in replacement.
  • Redis modules are not supported.
  • Self-hosted users manage infrastructure and updates.
  • DiskANN and Bf-Tree support are preview features.

Verdict

Garnet offers broad data APIs and cluster capabilities, but it does not aim for full Redis compatibility. Consider its self-hosting responsibilities and preview-feature status alongside the managed service's expanded Private Preview.

Garnet plans and pricing

All plans
Garnet Free Self-hosted; you manage infrastructure, updates, and operations microsoft.github.io · 29 Sept 2026
Azure Cosmos DB Garnet Cache Not published Billed per instance per hour; no licensing fees. Disk is billed separately when persistence is enabled. Expanded Private Preview; per-node SKU pricing microsoft.github.io · 29 Sept 2026

Compared on caching software

Free plan
Yesmicrosoft.github.io
Deployment
self_hostedmicrosoft.github.io
Cache targets
application data, key-value data, strings, lists, sets, sorted sets, hashesmicrosoft.github.io
Data persistence
Yesmicrosoft.github.io
High availability
Yesmicrosoft.github.io
Supported cache engines
RESP, Redis-compatible clients, Tsavoritemicrosoft.github.io

Facts

Purpose
Garnet is a remote cache-store from Microsoft Research designed for high performance, extensibility, and low latency.microsoft.github.io · 29 Sept 2026
Protocol and clients
Garnet uses the RESP protocol and works with many unmodified Redis clients, including StackExchange.Redis.microsoft.github.io · 29 Sept 2026
Data APIs
Its API includes strings, lists, hashes, sets, sorted sets, geo operations, HyperLogLog, bitmaps, ACLs, pub/sub, transactions, and Lua scripting.microsoft.github.io · 29 Sept 2026
Storage and recovery
Garnet supports datasets larger than memory using local or cloud storage, along with checkpointing and recovery.microsoft.github.io · 29 Sept 2026
Cluster features
Multi-node cluster mode supports sharding, state migration, and replication.microsoft.github.io · 29 Sept 2026
Extensibility
A custom operator framework lets developers register C# data structures and read-modify-write operations.microsoft.github.io · 29 Sept 2026
Preview features
Vector database support using DiskANN and range index support using Bf-Tree are marked preview.microsoft.github.io · 29 Sept 2026
Platforms
The server is extensively tested on Windows and Linux, and is also described as running on Azure hardware and edge devices.microsoft.github.io · 29 Sept 2026
Security
Garnet supports TLS/SSL connections and RESP password-based authentication.microsoft.github.io · 29 Sept 2026
Compatibility limit
Garnet is not intended to be a fully compatible Redis drop-in replacement, and it does not support Redis modules.microsoft.github.io · 29 Sept 2026
Managed service
Azure Cosmos DB Garnet Cache handles infrastructure provisioning, scaling, patching, and monitoring automatically; it is in expanded Private Preview.microsoft.github.io · 29 Sept 2026
Integrations
The documented Redis client libraries include StackExchange.Redis, Jedis, Redisson, redis-py, node_redis, and go-redis.microsoft.github.io · 29 Sept 2026
License
The Garnet project is licensed under the MIT License.github.com · 29 Sept 2026
Support and community
The project site links to Discord and GitHub for community and project information.microsoft.github.io · 29 Sept 2026

Company

Founded
2024microsoft.github.io · 28 Sept 2026

Best Garnet alternatives

See all 20

Where it ranks on Everything Xiaomi

Is Garnet yours?

Claim it for free: prove the domain, then correct facts, plans and screenshots. An editor reviews every change.

Sources