[Serve] First iteration of the serve doc (#5834)

* Address comments

* Lint

* Add py3 warning
This commit is contained in:
Simon Mo
2019-10-03 15:14:09 -07:00
committed by GitHub
parent 0dee225ce1
commit fa1214c44a
4 changed files with 76 additions and 1 deletions
+1
View File
@@ -252,6 +252,7 @@ Getting Involved
projects.rst
signals.rst
async_api.rst
serve.rst
.. toctree::
:maxdepth: -1
+20
View File
@@ -0,0 +1,20 @@
Ray Serve (Experimental)
========================
Ray Serve is a serving library that exposes python function/classes to HTTP.
It has built-in support for flexible traffic policy. This means you can easy
split incoming traffic to multiple implementations.
With Ray Serve, you can deploy your services at any scale.
.. warning::
Ray Serve is Python 3 only.
Quickstart
----------
.. literalinclude:: ../../python/ray/experimental/serve/examples/echo_full.py
API
---
.. automodule:: ray.experimental.serve
:members: