Skip to Content
Building Machine Learning Systems with a Feature Store
book

Building Machine Learning Systems with a Feature Store

by Jim Dowling
November 2025
Intermediate to advanced
508 pages
14h 13m
English
O'Reilly Media, Inc.
Content preview from Building Machine Learning Systems with a Feature Store

Chapter 9. Streaming and Real-Time Features

If you want to implement a scalable real-time ML system that has a feature freshness of just a few seconds, you need streaming feature pipelines. A streaming feature pipeline is a stream-processing program that runs 24/7, consuming events from a streaming data source, potentially enriching those events from other data sources, applying data transformations to create features, and writing the output feature data to a feature store.

Operationally, streaming pipelines have more in common with microservices than batch pipelines. If a streaming pipeline breaks, it often needs to be fixed immediately. You don’t have until the next scheduled batch run to fix it. Stream processing programs divide (partition) the infinite stream of events into groups of related events that are processed together in windows. A window is a time-bound set of events. For example, a streaming pipeline could create a window that groups credit card transactions by credit card number for the last hour and computes features over those events, such as the number of card transactions in the last hour for each card. In such a case, you would need to consider what to do with late-arriving data after its processing window had closed. For example, what should you do with a credit card transaction that arrived two hours late? Despite these challenges, streaming feature pipelines are increasingly being used to build real-time ML systems. They are also becoming more accessible ...

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.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Feature Store for Machine Learning

Feature Store for Machine Learning

Jayanth Kumar M J

Publisher Resources

ISBN: 9781098165222Errata Page