ray/doc/about-the-system.md

33 lines
832 B
Markdown
Raw Normal View History

2016-07-28 20:47:37 -07:00
# About the System
2016-07-06 13:51:32 -07:00
This document describes the current architecture of Ray. However, some of these
decisions are likely to change.
2016-07-28 20:47:37 -07:00
## Components
2016-07-06 13:51:32 -07:00
A Ray cluster consists of several components.
- One scheduler
- Multiple workers per node
- One object store per node
- One (or more) drivers
2016-07-28 20:47:37 -07:00
### The scheduler
2016-07-06 13:51:32 -07:00
The scheduler assigns tasks to the workers.
2016-07-28 20:47:37 -07:00
### The workers
2016-07-06 13:51:32 -07:00
The workers execute tasks and submit tasks to the scheduler.
2016-07-28 20:47:37 -07:00
### The object store
2016-07-06 13:51:32 -07:00
The object store shares objects between the worker processes on the same node so
that the workers don't need to each have their own copies of the objects.
2016-07-28 20:47:37 -07:00
### The driver
2016-07-06 13:51:32 -07:00
The driver submits tasks to the scheduler. If you use Ray in a script, the
Python process running the script is the driver. If you use Ray interactively
through a shell, the shell process is the driver.