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

[Doc][Serve] gRPC Proxy Docs Changes #39140

Merged
merged 45 commits into from
Sep 9, 2023

Conversation

GeneDer
Copy link
Contributor

@GeneDer GeneDer commented Aug 31, 2023

Why are these changes needed?

Added usage doc and examples for using serve with gRPC. Also added related doc changes.

Related issue number

Closes #38703

Checks

  • I've signed off every commit(by using the -s flag, i.e., git commit -s) in this PR.
  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/master/.
    • I've added any new APIs to the API Reference. For example, if I added a
      method in Tune, I've added it in doc/source/tune/api/ under the
      corresponding .rst file.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested :(

Signed-off-by: Gene Su <[email protected]>
Signed-off-by: Gene Su <[email protected]>
Signed-off-by: Gene Su <[email protected]>
Signed-off-by: Gene Su <[email protected]>
Signed-off-by: Gene Su <[email protected]>
Signed-off-by: Gene Su <[email protected]>
Signed-off-by: Gene Su <[email protected]>
Signed-off-by: Gene Su <[email protected]>
doc/source/_toc.yml Outdated Show resolved Hide resolved
Copy link
Contributor

@edoakes edoakes left a comment

Choose a reason for hiding this comment

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

@GeneDer I don't think we should organize HTTP & gRPC under "proxy guide" -- they're totally different features. The fact they're served by the same process is an implementation detail to the majority of users.

Let's leave the HTTP guide alone and put this new content as a replacement of the existing grpc guide.

@GeneDer GeneDer requested a review from a team as a code owner September 6, 2023 16:27
@GeneDer GeneDer changed the title Grpc proxy docs [Doc][Serve] gRPC Proxy Docs Changes Sep 6, 2023
Copy link
Contributor

@angelinalg angelinalg left a comment

Choose a reason for hiding this comment

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

Here is a batch of comments. I'm still working through the changes.

doc/source/serve/advanced-guides/grpc-guide.md Outdated Show resolved Hide resolved
doc/source/serve/advanced-guides/grpc-guide.md Outdated Show resolved Hide resolved
doc/source/serve/advanced-guides/grpc-guide.md Outdated Show resolved Hide resolved
doc/source/serve/advanced-guides/grpc-guide.md Outdated Show resolved Hide resolved
doc/source/serve/advanced-guides/grpc-guide.md Outdated Show resolved Hide resolved
doc/source/serve/advanced-guides/grpc-guide.md Outdated Show resolved Hide resolved
doc/source/serve/advanced-guides/grpc-guide.md Outdated Show resolved Hide resolved
doc/source/serve/advanced-guides/grpc-guide.md Outdated Show resolved Hide resolved
doc/source/serve/advanced-guides/grpc-guide.md Outdated Show resolved Hide resolved
doc/source/serve/advanced-guides/grpc-guide.md Outdated Show resolved Hide resolved
Signed-off-by: Gene Su <[email protected]>
doc/source/_toc.yml Outdated Show resolved Hide resolved
Copy link
Contributor

@angelinalg angelinalg left a comment

Choose a reason for hiding this comment

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

Hope these suggestions help. Feel free to ping me to talk through the comments that I suggested we discuss live.

doc/source/serve/advanced-guides/grpc-guide.md Outdated Show resolved Hide resolved
doc/source/serve/advanced-guides/grpc-guide.md Outdated Show resolved Hide resolved
doc/source/serve/advanced-guides/grpc-guide.md Outdated Show resolved Hide resolved
doc/source/serve/advanced-guides/grpc-guide.md Outdated Show resolved Hide resolved
doc/source/serve/advanced-guides/grpc-guide.md Outdated Show resolved Hide resolved
doc/source/serve/production-guide/config.md Outdated Show resolved Hide resolved
doc/source/serve/production-guide/config.md Outdated Show resolved Hide resolved
doc/source/serve/production-guide/config.md Outdated Show resolved Hide resolved
python/ray/serve/scripts.py Outdated Show resolved Hide resolved
python/ray/serve/scripts.py Outdated Show resolved Hide resolved
@GeneDer
Copy link
Contributor Author

GeneDer commented Sep 8, 2023

@edoakes can we get this merged in so I can raise the cherry pick PR🙏

@edoakes edoakes merged commit 7297a1e into ray-project:master Sep 9, 2023
15 of 35 checks passed
GeneDer added a commit to GeneDer/ray that referenced this pull request Sep 9, 2023
Added usage doc and examples for using serve with gRPC. Also added related doc changes.

Signed-off-by: Gene Su <[email protected]>
@GeneDer GeneDer deleted the grpc-proxy-docs branch September 9, 2023 04:07
GeneDer added a commit that referenced this pull request Sep 9, 2023
* [Doc][Serve] gRPC Proxy Docs Changes (#39140)

Added usage doc and examples for using serve with gRPC. Also added related doc changes.

Signed-off-by: Gene Su <[email protected]>

* fix missed conflicit

Signed-off-by: Gene Su <[email protected]>

---------

Signed-off-by: Gene Su <[email protected]>
jimthompson5802 pushed a commit to jimthompson5802/ray that referenced this pull request Sep 12, 2023
Added usage doc and examples for using serve with gRPC. Also added related doc changes.

Signed-off-by: Jim Thompson <[email protected]>
vymao pushed a commit to vymao/ray that referenced this pull request Oct 11, 2023
Added usage doc and examples for using serve with gRPC. Also added related doc changes.

Signed-off-by: Victor <[email protected]>
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.

[Serve] gRPC Proxy Usage doc and examples
4 participants