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

Add additional options to matching simulation cases #6240

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

natemort
Copy link
Member

Add RecordDecisionTaskStartedTime to control the delay incurred by matching calling to history.

Add TaskProcessTime to control the delay in-between polls. This is meant to represent time the client spends executing the task.

Add TasksBurst to allow setting the burst value on the rate limiter, defaulting to a value of 1. Currently it uses the same value as the RPS which results in spikey behavior that causes sync matching to significantly underperform.

Allow ForwarderMaxOutstandingPolls and ForwarderMaxOutstandingTasks to be zero. It's interesting to see a control without any forwarding.

Additionally add a few test cases to showcase different behaviors of the current matching stack. This isn't a complete set yet but each of these brings some interesting behavior.

What changed?

  • Modifications to matching simulator

Why?

  • Addresses correctness in some existing results and allows for additional options to be set

How did you test it?

  • Running matching simulator

Potential risks

  • None.

Release notes

Documentation Changes

Copy link

codecov bot commented Aug 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.94%. Comparing base (67fcf12) to head (c445678).
Report is 5 commits behind head on master.

Additional details and impacted files

see 9 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 67fcf12...c445678. Read the comment docs.

numpollers: 10
tasklistwritepartitions: 4
tasklistreadpartitions: 4
numpollers: 8
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you update host/testdata/matching_simulation_more_read_partitions.yaml as well? It should look similar to default.yaml except read partitions doubled.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Add RecordDecisionTaskStartedTime to control the delay incurred by matching calling to history.

Add TaskProcessTime to control the delay in-between polls. This is meant to represent time the client spends executing the task.

Add TasksBurst to allow setting the burst value on the rate limiter, defaulting to a value of 1. Currently it uses the same value as the RPS which results in spikey behavior that causes sync matching to significantly underperform.

Allow ForwarderMaxOutstandingPolls and ForwarderMaxOutstandingTasks to be zero. It's interesting to see a control without any forwarding.

Additionally add a few test cases to showcase different behaviors of the current matching stack. This isn't a complete set yet but each of these brings some interesting behavior.
@natemort natemort merged commit 69d0ce7 into cadence-workflow:master Aug 21, 2024
19 checks passed
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