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

Batch more Scheduler sends #4526

Merged
merged 13 commits into from
Feb 23, 2021
Merged

Batch more Scheduler sends #4526

merged 13 commits into from
Feb 23, 2021

Conversation

jakirkham
Copy link
Member

@jakirkham jakirkham commented Feb 19, 2021

Factors out _transitions from transitions to allow collecting of messages to send for the caller to handle as opposed to sending immediately. This then leveraged in a few stimulus and handle functions to collect all messages and send in one batch. Also this is leveraged in add_worker and gather. All of which makes a few calls to transition or transitions. The result is in these cases we should send fewer messages.

  • Closes #xxxx
  • Tests added / passed
  • Passes black distributed / flake8 distributed

@jakirkham jakirkham force-pushed the batch_more_sends branch 5 times, most recently from e4aff27 to eb42f3b Compare February 20, 2021 00:07
@jakirkham jakirkham changed the title [WIP] Batch more Scheduler sends Batch more Scheduler sends Feb 20, 2021
@jakirkham jakirkham marked this pull request as ready for review February 20, 2021 00:58
@jakirkham
Copy link
Member Author

Planning on merging end of day Tuesday if no comments

@jakirkham jakirkham force-pushed the batch_more_sends branch 5 times, most recently from 8edf0f9 to 3e02e1b Compare February 23, 2021 00:20
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.

1 participant