mirror of
https://github.com/vale981/ray
synced 2025-03-09 12:56:46 -04:00

This PR makes a number of major overhauls to the Ray core docs: Add a key-concepts section for {Tasks, Actors, Objects, Placement Groups, Env Deps}. Re-org the user guide to align with key concepts. Rewrite the walkthrough to link to mini-walkthroughs in the key concept sections. Minor tweaks and additional transition material.
26 lines
677 B
ReStructuredText
26 lines
677 B
ReStructuredText
.. _task-patterns:
|
|
|
|
Task Design Patterns
|
|
====================
|
|
|
|
This section is a collection of common design patterns (and anti-patterns) for Ray tasks. It is meant as a handbook for both:
|
|
|
|
- New users trying to understand how to get started with Ray, and
|
|
- Advanced users trying to optimize their use of Ray tasks
|
|
|
|
You may also be interested in visiting the design patterns section for :ref:`actors <actor-patterns>`.
|
|
|
|
.. toctree::
|
|
:maxdepth: -1
|
|
|
|
tree-of-tasks
|
|
map-reduce
|
|
limit-tasks
|
|
closure-capture
|
|
fine-grained-tasks
|
|
global-variables
|
|
ray-get-loop
|
|
submission-order
|
|
too-many-results
|
|
redefine-task-actor-loop
|
|
unnecessary-ray-get
|