Sahin Boydas
Random theme
Select theme
Designing Machine Learning Systems cover

Designing Machine Learning Systems by Chip Huyen: How Models Survive Production

by Chip Huyen · O'Reilly, 2022

By Sahin Boydas✓ Updated December 2026On 1 book list

Chip Huyen wrote Designing Machine Learning Systems for O'Reilly in 2022. She taught a Stanford course on machine learning systems design and had worked on production ML at several companies. The book grew from that course.

It is about everything around the model. Chapters cover where training data comes from, feature engineering, offline evaluation, how predictions are served, why data distributions shift after launch, how to monitor and retrain, and what infrastructure and teams an ML product needs. There is almost no code. Each chapter sets out choices and what each one costs.

Practitioners recommend it because most failed ML projects fail after training. A model that scores well in a notebook can degrade quietly once real users arrive. Huyen gives teams a checklist for that stage. Her later book, AI Engineering, applies the same approach to products built on foundation models.

How Tech People Read It

Laurence Moroney

Moroney, then the AI and ML lead at Google, calls the book essential for anyone serious about running ML in production end to end. His emphasis is on the whole system, from data to serving. That is the book's main contribution, since most ML books stop when the model is trained.

Goku Mohandas

Mohandas, who founded the Made With ML course, values the book for working from first principles. It explains why a design choice suits a system rather than prescribing a tool. Tools change every year, so that reasoning lasts longer than any framework tutorial.

Engineering leads at startups

A small team shipping its first ML feature has to decide on batch or online prediction, how often to retrain and what to monitor. The book lays out those decisions in order. It also covers how to structure the team, which matters as much as the stack.

The Main Ideas

  • Machine learning in production is a systems problem, and the model is a small part of it.
  • Data distributions shift after deployment, so a model's quality decays unless it is monitored.
  • Batch and online prediction suit different latency and cost needs.
  • Continual learning and testing in production shorten the loop between data and model updates.
  • Data quality and labeling usually matter more than the choice of algorithm.

Who Should Read It

Read it once you can train a model and now need to ship and maintain one. It suits ML engineers, data scientists moving to production work, and engineering managers who oversee ML teams. Skip it if you are still learning what a loss function is; start with a hands-on book first.

The Book

Cover of Designing Machine Learning Systems by Chip Huyen

Book 01 Practitioner

Designing Machine Learning Systems

by Chip Huyen

Publisher
O'Reilly, 2022
Free online
No
Goodreads
4.44 of 5 from 1,216 ratings

Why read it

How to build machine learning systems that keep working once they ship: training data, feature engineering, offline evaluation, deployment and prediction services, data distribution shifts and monitoring, continual learning and testing in production, MLOps infrastructure, and the people side. It has little code; each chapter weighs design choices against the system's goals. Read it once you can train a model and need to run one.

What people said

  • “If you are serious about ML in production, and care about how to design and implement ML systems end to end, this book is essential.”

    Laurence Moroney, AI and ML Lead, Google, in the reviews on the book's repository github.com ↗

  • “One of the best resources that focuses on the first principles behind designing ML systems for production.”

    Goku Mohandas, founder of Made With ML github.com ↗

Watch

661: Designing Machine Learning Systems — with Chip HuyenSuper Data Science: ML & AI Podcast with Jon KrohnThe author on designing machine learning systems for production.
Designing Machine Learning Systems | book summary | Read a book with meSophia YangA chapter-by-chapter summary of the book.

On These Book Lists

Frequently Asked Questions

Is Designing Machine Learning Systems worth reading?

Yes, if you are putting models into production. It covers data, deployment, monitoring and team structure, which most ML textbooks leave out.

Does Designing Machine Learning Systems have code?

Very little. The author's repository says so directly: the book is not a tutorial, and it focuses on design decisions.

Who is Chip Huyen?

An engineer and writer who taught machine learning systems design at Stanford. She also wrote AI Engineering, published by O'Reilly in 2025.

Is Designing Machine Learning Systems still current?

Its principles on data, drift and monitoring still apply. For products built on large language models, her later book AI Engineering covers the newer parts.