Skip to content
This repository was archived by the owner on Aug 23, 2023. It is now read-only.

reduce default kafka-mdm channel-buffer-size#886

Merged
Dieterbe merged 1 commit intomasterfrom
default-channel-buffer-size
Apr 12, 2018
Merged

reduce default kafka-mdm channel-buffer-size#886
Dieterbe merged 1 commit intomasterfrom
default-channel-buffer-size

Conversation

@Dieterbe
Copy link
Copy Markdown
Contributor

@Dieterbe Dieterbe commented Apr 11, 2018

in prod we use 1000.
using too high values will cause the sarama library to consume too much
memory when backfilling, which is not reclaimed, leaving a permament
increased memory usage footprint.
see
https://snapshot.raintank.io/dashboard/snapshot/lu1Aw1kPcbx4fk8qdtgZPQ61yyeTwbBk?orgId=2

Even though we plan to switch to the confluent kafka library imminently
(#879)
it's worthwhile to set this straight, for the record.

cc @shanson7

in prod we use 1000.
using too high values will cause the sarama library to consume too much
memory when backfilling, which is not reclaimed, leaving a permament
increased memory usage footprint.
see
https://snapshot.raintank.io/dashboard/snapshot/lu1Aw1kPcbx4fk8qdtgZPQ61yyeTwbBk?orgId=2

Even though we plan to switch to the confluent kafka library imminently
(#879)
it's worthwhile to set this straight, for the record.
@Dieterbe Dieterbe requested a review from woodsaj April 11, 2018 18:01
@Dieterbe Dieterbe merged commit b70a9cb into master Apr 12, 2018
@Dieterbe Dieterbe deleted the default-channel-buffer-size branch April 20, 2018 08:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants