
Learning Ray: Flexible Distributed Python for Machine Learning
Flexible: Learning Ray is a practical guide to using the Ray framework for distributed Python and machine learning workloads. It progresses from Ray Core and local examples to cluster workflows, with coverage of tuning, training, reinforcement learning, data processing, and model serving. The book expects intermediate Python skills, and later chapters also assume basic machine learning familiarity.
At a glance
- Covers Ray Core, Ray Tune, RLlib, Ray Train, Ray Datasets, Ray Clusters, and Ray Serve.
- Introduces distributed application development for data science and machine learning use cases.
- Most examples are described as runnable on a laptop, with cluster topics also included.
Reference price: $65.99
Price checked: Dec 2, 2026
View offerChristmas gift ideasExplore the selectionOften bought together
Pros and cons
Pros
- Covers multiple parts of the Ray ecosystem in one learning-focused book.
- Examples connect distributed computing concepts with machine learning and data engineering use cases.
- Readers new to distributed systems can start with introductory fundamentals.
Cons
- Requires intermediate Python knowledge, including comfort with a command line and programming environment setup.
- The book is an introduction rather than a comprehensive API reference, cookbook, or task-specific how-to guide.
Technical specifications
9 specifications| Publisher | O'Reilly Media |
|---|---|
| Publication date | March 21, 2023 |
| Edition | 1st |
| Language | English |
| Print length | 271 pages |
| ISBN-10 | 1098117220 |
| ISBN-13 | 978-1098117221 |
| Weight listed | 2.31 pounds |
|---|---|
| Dimensions | 7.25 x 0.75 x 9.25 inches |
What to know before buying
- The listing frames this as a conceptual introduction to Ray, with examples that may need updating as software evolves. Later material assumes basic ML concepts and familiarity with NumPy, Pandas, and reading TensorFlow or PyTorch examples.
Who is it for?
A good fit for
- Python developers and data engineers learning Ray for distributed workloads.
- Data scientists seeking an introduction to scaling experiments, training, or data processing with Ray.
- Engineers interested in Ray clusters, integrations, and distributed application concepts.
Less suited to
- Readers seeking a complete API reference, definitive guide, or step-by-step cookbook for a specific task.
- Beginners who are not yet comfortable programming in Python.
Customer reviews on Amazon
- 5 stars
42% 42% - 4 stars
41% 41% - 3 stars
17% 17% - 2 stars
0% 0% - 1 star
0% 0%
Aggregate ratings lean favorable, with ratings spanning the four- and five-star categories and some three-star feedback. The small rating sample does not establish specific strengths or explain lower ratings, so treat it as limited context rather than evidence of how thoroughly the book teaches each Ray topic.
Frequently asked questions
What background does this book expect?
It expects intermediate Python skills, including command-line use and setting up a programming environment. Later chapters also assume basic machine learning knowledge and the ability to follow NumPy, Pandas, TensorFlow, and PyTorch examples.
Can readers try examples without a compute cluster?
The listing says most code examples can run on a laptop. The book also discusses working with Ray clusters, so cluster-focused workflows are part of the coverage.
Is this a comprehensive Ray reference?
No. The book describes itself as a learning-oriented introduction to Ray's main building blocks, rather than an exhaustive API reference or cookbook.
Alternative options

Scaling Python with Ray: Adventures in Cloud and Serverless Patterns
$46.87

Hands-On Large Language Models: Language Understanding and Generation
$36.80

AI Engineering: Building Applications with Foundation Models
$45.97

Fundamentals of Data Engineering: Plan and Build Robust Data Systems
$42.99

Deep Learning with PyTorch, Second Edition: Training and applying deep learning and generative AI models
$51.68

Fluent Python: Clear, Concise, and Effective Programming
$40.82

AI Systems Performance Engineering: Optimizing Model Training and Inference Workloads with GPUs, CUDA, and PyTorch
$77.03

Systems Performance (Addison-Wesley Professional Computing Series)
$57.41

Hands-On Machine Learning with Scikit-Learn and PyTorch: Concepts, Tools, and Techniques to Build Intelligent Systems
$65.37

Machine Learning Design Patterns: Solutions to Common Challenges in Data Preparation, Model Building, and MLOps
$36.99

Designing Machine Learning Systems: An Iterative Process for Production-Ready Applications
$39.82

Agentic Coding with Claude Code: The everyday developer's guide to agentic coding with Claude Code
$31.14

























