Stack Gems
Menu
← Catalog

Garnet

MIT Redis-protocol cache-store from Microsoft Research

Databases / Data · OSS/MIT · 12.1k

Reviewed 2026-10-18 · last push 2026-10-19 · repo checked 2026-10-19

What's Good

MIT (microsoft/garnet), release v2.2.3 (2026-10-16), runs on Linux and Windows. It covers strings, key expiry, HyperLogLog, bitmaps, sorted sets, lists, hashes and geo, plus Lua scripts, RESP transactions, server-side stored procedures and custom commands in C#. Its Tsavorite storage layer supports tiered storage (memory, SSD, cloud), checkpointing and recovery, and cluster mode adds sharding, replication and key migration. Vector sets backed by DiskANN are in preview. ★~12.1k.

The Catch

RESP compatibility is not full Redis: check your exact commands and modules against Garnet's API docs before swapping it in. Custom extensions are written in C#/.NET, so this fits best in a .NET team. The headline latency numbers come from the project's own benchmarks on Azure VMs. The managed Azure Cosmos DB Garnet Cache is a separate paid service; the OSS server is free.

Verdict

A serious MIT alternative to Redis when throughput per box matters — test your command set first.

Embed

Maintainer? Add the badge to your README. It is free, links to this review, and there is no paid version.

Reviewed on Stack Gems

Markdown

[![Reviewed on Stack Gems](https://stackgems.com/badge/garnet.svg)](https://stackgems.com/gems/garnet)

HTML

<a href="https://stackgems.com/gems/garnet"><img src="https://stackgems.com/badge/garnet.svg" alt="Garnet reviewed on Stack Gems" height="20"></a>