Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce new dynamic config for enabling wfID based ratelimiting #5703

Merged
merged 2 commits into from
Mar 4, 2024

Conversation

jakobht
Copy link
Member

@jakobht jakobht commented Mar 4, 2024

What changed?
Introduced dynamic configs controlling if we are actually doing the wfID based rate limiting or just running in shadow mode

Why?
We can now see the effects of enabling the rate limiting and then immediately enable it without requiring another rollout.

How did you test it?

Potential risks

Release notes

Documentation Changes

@coveralls
Copy link

Pull Request Test Coverage Report for Build 018e086b-5cca-4017-bcbb-a9fb44520178

Details

  • 6 of 6 (100.0%) changed or added relevant lines in 1 file are covered.
  • 39 unchanged lines in 8 files lost coverage.
  • Overall coverage increased (+0.02%) to 62.909%

Files with Coverage Reduction New Missed Lines %
common/task/weighted_round_robin_task_scheduler.go 1 89.05%
tools/cli/admin_db_decode_thrift.go 1 71.79%
service/history/task/transfer_active_task_executor.go 2 72.38%
service/matching/taskListManager.go 2 80.46%
service/history/queue/timer_gate.go 3 95.83%
service/history/task/fetcher.go 6 85.05%
service/history/task/cross_cluster_task_processor.go 8 80.79%
service/history/execution/mutable_state_task_refresher.go 16 62.03%
Totals Coverage Status
Change from base Build 018dfbb1-48ef-4faa-92f4-b269d8ca713f: 0.02%
Covered Lines: 92988
Relevant Lines: 147813

💛 - Coveralls

@jakobht jakobht merged commit d70c7fb into cadence-workflow:master Mar 4, 2024
17 checks passed
@jakobht jakobht deleted the ratelimitDynamicConfig branch March 4, 2024 11:35
ketsiambaku pushed a commit to ketsiambaku/cadence that referenced this pull request Mar 6, 2024
…dence-workflow#5703)

What changed?
Introduced dynamic configs controlling if we are actually doing the wfID based rate limiting or just running in shadow mode

Why?
We can now see the effects of enabling the rate limiting and then immediately enable it without requiring another rollout.

How did you test it?

Potential risks

Release notes

Documentation Changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants