Skip to content

Commit

Permalink
Enable grpc compression to be snappy-block (#47)
Browse files Browse the repository at this point in the history
Reduces 93.6% traffic between ingester and distributor
Causes no additional latency, cpu or memory usage

Signed-off-by: Friedrich Gonzalez <friedrichg@gmail.com>
  • Loading branch information
friedrichg authored May 8, 2024
1 parent 34f241a commit f938686
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## master / unreleased
* [ENHANCEMENT] Configure `-ingester.client.grpc-compression` to be `snappy-block`

## 1.16.1
* [CHANGE] Upgrade memcached to 1.6.23-alpine and memcached-exporter to v0.14.2
* [CHANGE] Use cortex v1.16.1
Expand Down
1 change: 1 addition & 0 deletions cortex/config.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@
'distributor.replication-factor': $._config.replication_factor,
'distributor.shard-by-all-labels': true,
'distributor.health-check-ingesters': true,
'ingester.client.grpc-compression': 'snappy-block',
'ring.heartbeat-timeout': '10m',
},

Expand Down

0 comments on commit f938686

Please sign in to comment.