[DRAFT] Practitioner’s Guide to Real-time Machine Learning: Principles, Patterns and Lessons Learned

Author

Felipe Q. B. Almeida

LAST UPDATED

May 14, 2025

Hello!

Welcome to the Practitioner’s Guide to Real-Time Machine Learning. This book provides practical guidance for building and maintaining real-time machine learning systems in production.

This is a Quarto book.

To learn more about Quarto books visit https://quarto.org/docs/books.

About This Book

This book covers the entire lifecycle of real-time ML systems, from initial project planning to steady-state operations and scaling.

Principles: High-level guidelines that apply to the whole end-to-end system

Patterns: things that are self-contained and common enough to merit a short “name”. Examples: shadow-mode deployment, pre-mortem. No need for a lot of context in the name

Lessons Learned: are very short sentences with “statements of fact”, “orders”, “suugestions” or “warnings” for specific, practical cases, in the form of:

  • (statement)
    • “SE principles are also important in RT-ML”
  • (order)
    • “Do X”
    • “Don’t do Y”
    • “Choose features acording to value and effort”
  • (suggestion)
    • “Prefer X over Y”
  • (warning)
    • “X doesn’t usually end well”
    • “Strategy X is not robust and frequently fails”

What this book is

Collection of practical advice observed by RTML practitioners in the industry

What this book is not

Is there a PDF version of the book?

Yes. Every new release triggers a new PDF version. (coming soon)