dskit icon indicating copy to clipboard operation
dskit copied to clipboard

NATS cache client support

Open liamkinne opened this issue 1 year ago • 2 comments

Would there be interest in me contributing NATS cache client support? i.e. in addition to Redis and Memcached.

I'm looking to eventually have the ability to use NATS for caching/indexes with Mimir rather than Redis.

liamkinne avatar Sep 14 '23 16:09 liamkinne

Note that if you are running Mimir, the helm chart and jsonnet configure Memcached for you. We (Grafana) don't run Redis internally for Mimir and so can't support it as-is. NATS would be in the same position, you'd likely end up being responsible for it if it was accepted.

56quarters avatar Sep 14 '23 17:09 56quarters

Happy for that to be the case in terms of responsibility.

For context, we're running Mimir on Fly.io using their managed consul for kv and Upstash Redis for caching. Upstash isn't really designed for high throughput (we're limited to 1000 commands/sec) so we've been using NATS since it comfortably scales to 100x that without costing a lot.

liamkinne avatar Sep 15 '23 00:09 liamkinne