Garnet is a Redis (RESP) compatible cache from Microsoft Research, it’s used internally within Microsoft but as it’s a research project it’s possible the design etc. will change/evolve.
Not only is is Redis compatible, it’s written in C#, so ideal for .NET native environments. Check out the Garnet website for more information
I’ve shown code to interact from C#/.NET to Redis in the past, the same code will work with Garnet.
Here’s a Dockerfile to create an instance of Garnet
services:
garnet:
image: 'ghcr.io/microsoft/garnet'
ulimits:
memlock: -1
container_name: garnet
ports:
- "6379:6379"