High network usage in GKE deployment #2881
-
Hi there, We have a custom GKE deployment of 3 mimir instances running in monolith mode. Given our data rate is about 2MB/s I thought we would see maybe an additional 4MB/s to distribute to the other nodes. Additionally there might be some overhead from memberlist, but I really don't understand why it's that high. Our configuration: target: "all,alertmanager"
multitenancy_enabled: false
no_auth_tenant: anapaya
server:
log_format: json
blocks_storage:
backend: gcs
gcs:
bucket_name: mimir-storage-1
ruler:
alertmanager_url: dnssrv+http://mimir.monitoring.svc.cluster.local:8080/alertmanager
ruler_storage:
backend: local
local:
directory: /etc/ruler
alertmanager_storage:
backend: local
local:
path: /etc/alertmanager
limits:
ingestion_rate: 500000
ingestion_burst_size: 500000
max_global_series_per_user: 0
max_global_series_per_metric: 0
activity_tracker:
filepath: "" Running with the config flags:
We run mimir 2.2.0. Is that network usage just normal? Or did we misconfigure something? Is there a way to reduce it? Thanks for any hints. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello, you may want to enable Note that there are multiple grpc_compression flags:
Depending on which client is configured. If you search for |
Beta Was this translation helpful? Give feedback.
Hello, you may want to enable
grpc_compression
for various grpc client used by Mimir. For example push request arrive to distributor as snappy-compressed protobuf messages, but once decoded by distributors, they are passed to ingesters uncompressed. Using-ingester.client.grpc-compression=snappy
(or equivalent YAML config) will compress them again, at the cost of additional CPU usage by distributors and ingesters.Note that there are multiple grpc_compression flags:
-ingester.client.grpc-compression
-query-frontend.grpc-client-config.grpc-compression
-query-scheduler.grpc-client-config.grpc-compression
-ruler.client.grpc-compression
-alertmanager.alertmanager-client.grpc-compression
-que…