store-gateway > chunks-cache bandwidth usage #8369
Replies: 1 comment 2 replies
-
Note that recording rules can also result in store-gateways having to do work (anything that falls outside of the range ingesters are responsible for, 12h by default). The chunks cache will definitely be the highest bandwidth thing that store-gateways talk to in most cases.
There's no tuning for the format or encoding of data stored in the chunks cache. The store-gateways fetch TSDB samples from the chunks cache so compression wouldn't really help very much here since the samples are already pretty well compressed.
Hopefully you're running the caches in the same AZ as the store-gateways (or within your own DC) so this traffic is "free"? I'd make sure that the caches are scaled enough so that they usually aren't evicting anything and causing data to need to be fetched from object storage and stored to the cache over and over. TSDB data is basically immutable once it's in object storage so it caches very well. We usually see close to 99% hit ratio on the chunks cache internally. You can confirm the hit ratio from Mimir's perspective using the |
Beta Was this translation helpful? Give feedback.
-
Hi,
I have noticed that our store-gateways are transmitting/receiving a lot of data from chunks-cache (maybe other places) with very low query load and seemingly non-stop. We have ~2 million active series and bandwidth usage across these two components is 150MBs roughly for Tx/Rx. First off, I have not been able to find if any compression settings are available here, which would help with our bandwidth usage, so I'm wondering if there's a configuration setting for that (given that store-gateway is interacting with S3/Memcached, it seems maybe not). Additionally, could we be missing a configuration setting that would limit network behavior?
I am unsure what additional things to investigate at this point so would appreciate any help. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions