Chapter 4. Data Processing at Its Core
This book began with a very high-level overview of data processing history and then descended to a more detailed review of the different components of a data ecosystem. We are now diving to a low enough altitude that we will look into the foundations of all data processing at a job level.
The goal of this chapter is to lay a foundation for you to build on later in the book when we begin categorizing different systems and discussing issues that frequently come up in data processing systems. This book is about optimizing the entire pipeline which you can’t do without understanding what is happening in its smallest units.
Then, we ascend a bit and look at Directed Acyclic Graphs (DAGs) at a pipeline level, which are DAGs that make up many processing DAGs and storage systems.
What Is a DAG?
The first time I heard about a DAG engine, I was super hopeful it was going to be groundbreaking and would change my understanding of data processing. If you have a name as cool as a DAG engine, by law you need to be awesome. However, as with many things in life, as you learn the details, reality becomes less exciting than we had hoped.
A DAG is nothing more than a graph of nodes and edges in which you don’t loop back, as shown in Figure 4-1.
Figure 4-1. Simple DAG
The DAG provides a great way to explain all data processing and even data pipelines. In general, ...
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