Ottomata has submitted this change and it was merged.
Change subject: Change varnishkafka webrequest required.acks to 1
......................................................................
Change varnishkafka webrequest required.acks to 1
We are seeing a slowdown in produce request RTT with 0.8.2.1
and required.acks=-1. 1 seems to help, and should be acceptable
for webrequest data.
Change-Id: I3713775dca6e818ed66f7f99e3fdfc99e5239138
---
M modules/role/manifests/cache/kafka/webrequest.pp
1 file changed, 2 insertions(+), 2 deletions(-)
Approvals:
Ottomata: Verified; Looks good to me, approved
diff --git a/modules/role/manifests/cache/kafka/webrequest.pp
b/modules/role/manifests/cache/kafka/webrequest.pp
index f0ae40a..89a7bd8 100644
--- a/modules/role/manifests/cache/kafka/webrequest.pp
+++ b/modules/role/manifests/cache/kafka/webrequest.pp
@@ -38,8 +38,8 @@
# Perhaps this is a buffer bloat problem.
# Note that varnishkafka will retry a timed-out produce request.
topic_request_timeout_ms => 2000,
- # -1 means all brokers in the ISR must ACK this request.
- topic_request_required_acks => '-1',
+ # 1 means only the leader broker must ACK each produce request
+ topic_request_required_acks => '1',
# Write out stats to varnishkafka.stats.json
# this often. This is set at 15 so that
# stats will be fresh when polled from gmetad.
--
To view, visit https://gerrit.wikimedia.org/r/230685
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I3713775dca6e818ed66f7f99e3fdfc99e5239138
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ottomata <[email protected]>
Gerrit-Reviewer: Ottomata <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits