Skip to Content
Learning Ray
book

Learning Ray

by Max Pumperla, Edward Oakes, Richard Liaw
February 2023
Beginner
271 pages
7h 15m
English
O'Reilly Media, Inc.
Book available
Content preview from Learning Ray

Preface

Distributed computing is a fascinating topic. Looking back at the early days of computing, one can’t help but be impressed by the fact that so many companies today distribute their workloads across clusters of computers. It’s impressive that we have figured out efficient ways to do so, but scaling out is also becoming more and more of a necessity. Individual computers keep getting faster, and yet our need for large-scale computing keeps exceeding what single machines can do.

Recognizing that scaling is both a necessity and a challenge, Ray aims to make distributed computing simple for developers. It makes distributed computing accessible to nonexperts and makes it possible to scale your Python scripts across multiple nodes fairly easily. Ray is good at scaling both data- and compute-heavy workloads, such as data preprocessing and model training—and it explicitly targets machine learning (ML) workloads with the need to scale. While it is possible today to scale these two types of workloads without Ray, you would likely have to use different APIs and distributed systems for each. And managing several distributed systems can be messy and inefficient in many ways.

The addition of the Ray AI Runtime (AIR) with the release of Ray 2.0 in August 2022 increased the support for complex ML workloads in Ray even further. AIR is a collection of libraries and tools that make it easy to build and deploy end-to-end ML applications in a single distributed system. With AIR, even the most ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Generative Deep Learning, 2nd Edition

Generative Deep Learning, 2nd Edition

David Foster
Learning Go

Learning Go

Jon Bodner

Publisher Resources

ISBN: 9781098117214Errata PageSupplemental Content