Skip to content

First draft of PubSub #1999

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

Merged
merged 9 commits into from
May 28, 2018
Merged

First draft of PubSub #1999

merged 9 commits into from
May 28, 2018

Conversation

mrocklin
Copy link
Member

This allows for direct communication between workers using a
publish/subscribe pattern.

@mrocklin
Copy link
Member Author

OK, when running locally (but over normal tcp sockets) two workers on my machine can roundtrip 1000 messages between each other in around two seconds, so we're seeing around 1ms latency in communication.

@mrocklin mrocklin force-pushed the pubsub branch 2 times, most recently from a0f9c0b to ba939aa Compare May 27, 2018 15:15
@mrocklin mrocklin changed the title [WIP] First draft of PubSub First draft of PubSub May 27, 2018
@mrocklin
Copy link
Member Author

OK, this seems usable to me. I'm going to merge it in soonish. I'm sure that we'll find things to fix, but I suspect that it will have better exposure while in master.

I've added docstrings for documentation. I plan to handle narrative documentation in dask/dask within the futures documentation pages.

@mrocklin mrocklin merged commit 175fccd into dask:master May 28, 2018
@mrocklin mrocklin deleted the pubsub branch May 28, 2018 18:35
@stsievert stsievert mentioned this pull request Jun 5, 2018
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