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

Reduce default websocket frame size and make configurable #5070

Merged
merged 3 commits into from
Jul 15, 2021

Conversation

ian-r-rose
Copy link
Collaborator

@ian-r-rose ian-r-rose commented Jul 15, 2021

Supersedes #5052 . In addition to making the default websocket maximum-frame-size smaller, this makes the specific value configurable. It's somewhat redundant with distributed.comm.shard, but the constraints on websockets are sufficiently different that a separate config seems okay.

This does not implement the fix in #5061, as that would read a config value for every frame, which is costly. So the config value will in general not be changed after import time.

  • Tests added / passed
  • Passes black distributed / flake8 distributed / isort distributed

mrocklin and others added 3 commits July 15, 2021 14:38
This also forces us to thread a keyword down through from to_frames to
frame_split_size.
@ian-r-rose ian-r-rose changed the title Frame split size Reduce default websocket frame size and make configurable Jul 15, 2021
@mrocklin mrocklin merged commit 48ec3c5 into dask:main Jul 15, 2021
@mrocklin mrocklin mentioned this pull request Jul 29, 2021
3 tasks
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.

2 participants