Skip to main content

Garnet

A high-performance cache-store from Microsoft Research

High Performance

High Performance

Garnet uses a thread-scalable storage layer called Tsavorite, and provides cache-friendly shared-memory scalability with tiered storage support. Garnet supports cluster mode (sharding and replication). It has a fast pluggable network design to get high end-to-end performance (throughput and 99th percentile latency). Garnet can reduce costs for large services.

Rich & Extensible

Rich & Extensible

Garnet uses the popular RESP wire protocol, allowing it to be used with unmodified Redis clients in any language. Garnet supports a large fraction of the Redis API surface, including raw strings and complex data structures such as sorted sets, bitmaps, and HyperLogLog. Garnet also has scalable extensibility and transactional stored procedure capabilities.

Modern & Secure

Modern & Secure

The Garnet server is written in modern .NET C#, and runs efficiently on almost any platform. It works equally well on Windows and Linux, and is designed to not incur garbage collection overheads. You can also extend Garnet's capabilities using new .NET data structures to go beyond the core API. Finally, Garnet has efficient TLS support out of the box.