Replies: 1 comment 1 reply
-
Hey @jakubgs, memcached has a mode called extstore which uses disk to cache items. Grafana Loki team has a blog post about it https://grafana.com/blog/2023/08/23/how-we-scaled-grafana-cloud-logs-memcached-cluster-to-50tb-and-improved-reliability/. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a deployment of Cortex which uses a hetzner host for chunks cache Memcached because large memory hosts are cheap compared to our cloud provider where the Cortex cluster lives. The issue with this is that latency and bandwidth issues make it less than optimal.
What I've been thinking is maybe I could deploy one of these which have a Memcached interface but store data on disk:
Because the main reason for having this cache as far as I can tell is avoiding making too many requests to the block storage, which usually would result in getting throttled.
The documentation states that the only chunks cache supported is
memcached
:So my idea was to us a host in the same DC as the cluster, but use storage instead of RAM for caching chunks. Good idea? Bad?
Honestly, I wish Cortex would just support
filesystem
option forbucket_store.chunks_cache.backend
.Beta Was this translation helpful? Give feedback.
All reactions