Skip to content

First draft of PubSub - #1999

Merged
mrocklin merged 9 commits into
dask:masterfrom
mrocklin:pubsub
May 28, 2018
Merged

mrocklin merged 9 commits into
dask:masterfrom
mrocklin:pubsub

Conversation

@mrocklin

Copy link
Copy Markdown
Member

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

@mrocklin

Copy link
Copy Markdown
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
Copy Markdown
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