From 2cf943b7609081a6c46b00363541cc9a6fbebb61 Mon Sep 17 00:00:00 2001 From: rodrigolourencolopes Date: Tue, 20 Aug 2024 13:21:14 +0200 Subject: [PATCH 1/2] feat: enable write rate limits for the benchmarks. --- charts/zeebe-benchmark/values.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/charts/zeebe-benchmark/values.yaml b/charts/zeebe-benchmark/values.yaml index c8d1903..3a12729 100644 --- a/charts/zeebe-benchmark/values.yaml +++ b/charts/zeebe-benchmark/values.yaml @@ -68,7 +68,7 @@ timer: # Timer.rate defines with which rate process instances with timers should be created rate: 25 -# LeaderBalanacing configuration for the auto rebalancing feature, which allows to rebalance periodically the zeebe cluster +# LeaderBalancing configuration for the auto rebalancing feature, which allows to rebalance periodically the zeebe cluster # For more details see https://docs.camunda.io/docs/self-managed/zeebe-deployment/operations/rebalancing/ leaderBalancing: # LeaderBalancing.enabled if true, enables the auto leader rebalancing @@ -92,6 +92,9 @@ zeebe: # Configure index suffix with hour pattern, so we create every hour a new index # such that ILM can clean it up quickly zeebe.broker.exporters.elasticsearch.args.index.indexSuffixDatePattern: "yyyy-MM-dd_HH" + # Configure a rate limit for all writes, so that we can visualize flow control metrics. + zeebe.broker.flowControl.write.enabled: "true" + zeebe.broker.flowControl.write.limit: 4000 # Zeebe.profiling configuration for pyroscope profiling profiling: # Zeebe.profiling.enabled if true, enables the pyroscope profiling From f5c3402cc8426012e7e32b2a4494ee611e97a92c Mon Sep 17 00:00:00 2001 From: rodrigolourencolopes Date: Tue, 20 Aug 2024 13:31:29 +0200 Subject: [PATCH 2/2] test: add same config to test file which gets compared with the original. --- charts/zeebe-benchmark/test/golden/benchmark-config.golden.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/charts/zeebe-benchmark/test/golden/benchmark-config.golden.yaml b/charts/zeebe-benchmark/test/golden/benchmark-config.golden.yaml index fac76b1..4dcb8b1 100644 --- a/charts/zeebe-benchmark/test/golden/benchmark-config.golden.yaml +++ b/charts/zeebe-benchmark/test/golden/benchmark-config.golden.yaml @@ -17,5 +17,7 @@ data: zeebe.broker.experimental.consistencyChecks.enableForeignKeyChecks: "true" zeebe.broker.experimental.consistencyChecks.enablePreconditions: "true" zeebe.broker.exporters.elasticsearch.args.index.indexSuffixDatePattern: yyyy-MM-dd_HH + zeebe.broker.flowControl.write.enabled: "true" + zeebe.broker.flowControl.write.limit: 4000 zeebe.gateway.monitoring.enabled: "true" zeebe.gateway.threads.managementThreads: "1" \ No newline at end of file