Skip to content
This repository was archived by the owner on Dec 17, 2025. It is now read-only.

Subscribe without polling#45

Closed
pcmoritz wants to merge 1 commit intomasterfrom
subscribe_no_polling
Closed

Subscribe without polling#45
pcmoritz wants to merge 1 commit intomasterfrom
subscribe_no_polling

Conversation

@pcmoritz
Copy link
Copy Markdown
Collaborator

This registers the file descriptor we write subscription events to only with the event loop if there is data to be written. Without this fix, the plasma store will invoke send_notifications whenever the socket is writable, which will lead to 100% cpu utilization.

@pcmoritz
Copy link
Copy Markdown
Collaborator Author

see ray-project/ray#6

@pcmoritz pcmoritz closed this Oct 27, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant