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

Streaming data transfer and python integration #6185

Merged
merged 323 commits into from Dec 10, 2019

Conversation

chaokunyang
Copy link
Member

@chaokunyang chaokunyang commented Nov 18, 2019

Why are these changes needed?

This is the minimal implementation of streaming data transfer mentioned in doc, consisting of three parts:

  • writer/reader, implemented with C++ to transfer data between streaming workers
  • streaming queue, the transport layer based on Ray’s direct actor call and C++ Core Worker APIs
  • adaption layer for python, implemented with cython to adapt writer/reader for python

To integrate python with streaming c++ data transfer, following changes are made:

  • We moved python code from python/ray/experimental/streaming/ to streaming/python/ray/streaming,
    and soft link to python/ray/streaming just like rllib.
  • We removed batched_queue and added cython based streaming queue implementation.
  • We moved execution graph related logic from Environment into ExecutionGraph.
  • We refactored operator_instance into a processor, and added a JobWorker actor to execute processors.

The java part will be submitted in following PRs.

Related issue number

#6184

Checks

chaokunyang and others added 30 commits November 7, 2019 14:22
@AmplabJenkins
Copy link

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/19311/
Test FAILed.

@AmplabJenkins
Copy link

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/19312/
Test FAILed.

…r_python

# Conflicts:
#	doc/site/blog.html
#	doc/site/community.html
#	doc/site/get_ray.html
#	doc/site/index.html
@AmplabJenkins
Copy link

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/19325/
Test FAILed.

@AmplabJenkins
Copy link

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/19329/
Test FAILed.

@AmplabJenkins
Copy link

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/19358/
Test FAILed.

@AmplabJenkins
Copy link

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/19359/
Test FAILed.

Copy link
Contributor

@raulchen raulchen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM

src/ray/ray_exported_symbols.lds Outdated Show resolved Hide resolved
BUILD.bazel Outdated Show resolved Hide resolved
BUILD.bazel Outdated Show resolved Hide resolved
@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/19387/
Test PASSed.

@raulchen raulchen merged commit 6272907 into ray-project:master Dec 10, 2019
@raulchen raulchen deleted the streaming_data_transfer_python branch December 10, 2019 12:33
@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/19391/
Test PASSed.

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/19389/
Test PASSed.

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/19393/
Test PASSed.

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.

None yet

10 participants