Garnet is a multi-threaded in-memory database and distributed key-value store. It functions as a high-performance remote cache store that implements the RESP wire protocol to maintain compatibility with existing Redis clients and libraries.
The project is distinguished by a shared-memory architecture that enables parallel request processing across multiple cores for sub-millisecond latency. It features a tiered storage system that automatically offloads colder data from system memory to SSD or cloud storage layers, and includes a specialized vector search database for high-dimensional similarity search.
The system covers a broad range of capabilities, including distributed clustering with horizontal slot sharding, primary-replica data replication, and durable persistence via append-only logging and non-blocking checkpointing. It supports various complex data types, server-side Lua scripting, and atomic multi-key transactions.
Administrative and security features include role-based access control, TLS connection encryption, and integration with external control planes for cluster state management and failover.