API compatibility for Azure Cosmos DB Garnet Cache
Below is the full list of API commands and their implementation status in Azure Cosmos DB Garnet Cache. There is compatibility with Redis clients and support for a subset of Redis data types and commands. The maximum size for a key value pair is 32MB. For the lowest latency, it’s recommended to keep the size of a key value pair to around 1KB.
Command Categories
The Azure Cosmos DB Garnet Cache implements a growing subset of the open-source Garnet commands. Categories with at least one supported command are listed here.
- CLIENT
- CLUSTER
- COMMAND
- CONNECTION
- GENERIC
- HASH
- KEYS
- LATENCY
- PUB/SUB
- SCRIPTING
- SERVER
- SET
- SORTED SET
- STRING