Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Data Engineering in Action

Building Scalable Pipelines with Open Source Tools and Cloud Platforms


About the Author

Dr. Kushnazarov Farruh is a leading authority in generative AI, data engineering, and machine learning, possessing a robust background that harmonizes theory and practice. He currently serves as a Senior GenAI/Solution Architect at Alibaba Cloud Intelligence, where he pioneers generative AI solutions and steers comprehensive strategies aligned with organizational goals. Previously, Dr. Farruh served as a Data Scientist at iTutorGroup-Ping An and Midea Group, spearheading groundbreaking research on optimizing communication networks and smart technologies. He has also served as a professor, teaching mathematical modeling, computer science, and data engineering subjects. His illustrious career spans numerous AI-linked projects and scholarly endeavors, resulting in a distinguished portfolio comprising over 20 technical publications.


Preface

Welcome to Data Engineering in Action.

If you are reading this, you likely already know that building data systems is difficult. You do not need another lecture explaining that “data is the new oil” or that data engineering is an in-demand career. You need to know how to build systems that do not break at 3:00 AM. You need to know how to orchestrate a pipeline, how to model a lakehouse, and how to feed clean data into a machine learning model without causing a production incident.

Many data engineering books treat the field as a catalog of tools. They teach you the syntax of Apache Spark or the configuration files of Apache Kafka, but they leave you guessing how to wire them together. Other books focus entirely on distributed systems theory, leaving you without a single line of runnable code.

This book is different. It is a practical field guide designed to bridge the gap between theory and production. We follow a single, evolving storyline—the growth of a fictional e-commerce company called TuranMart—to provide the business context for every architectural decision we make.

More importantly, this book treats Artificial Intelligence as a data engineering problem. The rise of Generative AI has proven that models are only as good as the data pipelines that feed them. In this book, you will not just learn how to move tables; you will learn how to build document ingestion pipelines, feature stores, and vector databases to support production RAG applications.

Every chapter in this book follows a strict rhythm: we introduce a business problem, explain the conceptual foundation, show the production design pattern, and then walk you through a guided, runnable lab using Docker. By the end of this book, you will have a portfolio of working data architecture artifacts running on your own machine.

Who This Book Is For

This book is designed for:

What You Will Learn

By the end of this book, you will be able to:

How This Book Is Organized

The book is organized into six parts:

Part 1: Foundations of Data Engineering introduces you to the field, covering the key roles, the data landscape, and core concepts like data modeling and storage paradigms.

Part 2: Data Storage Solutions provides deep dives into the major categories of data storage systems, from relational and NoSQL databases to data lakes and lakehouses.

Part 3: Data Processing and Orchestration covers the tools and techniques for processing data at scale and managing complex workflows.

Part 4: Data Governance, Security, and Cloud Platforms explores the critical topics of data quality, security, and compliance, and shows you how to build data platforms on Alibaba Cloud.

Part 5: Data Engineering for AI and ML is where we dive into the exciting world of data engineering for artificial intelligence, covering RAG, ML pipelines, feature stores, and vector databases.

Part 6: Business Applications and Case Studies brings it all together with detailed, end-to-end case studies from different industries.

Prerequisites

To get the most out of this book, you should have:

If you are not comfortable with Python or SQL, don’t worry. Appendix B provides a quick primer on both.

Setting Up Your Environment

All the code examples in this book can be run on your local machine using Docker and open-source tools. Appendix A provides detailed instructions for setting up your development environment. Additionally, a complete GitHub repository with all the code examples, sample data, and hands-on exercises is available at:

https://github.com/k-farruh/data-engineering-in-action-book

A Note on Cloud Platforms

While this book covers open-source tools that can run anywhere, it also provides extensive coverage of Alibaba Cloud, one of the world’s leading cloud providers. If you don’t have access to Alibaba Cloud, don’t worry—the concepts and architectures discussed are applicable to any cloud platform, and you can adapt the examples to AWS, Azure, or Google Cloud.

Let’s Get Started

Data engineering is a challenging but incredibly rewarding field. The problems are complex, the tools are powerful, and the impact is immense. Every data-driven application, every machine learning model, and every business intelligence dashboard is built on the foundation of robust data pipelines created by data engineers.

I hope this book will be a valuable companion on your journey to becoming a skilled data engineer. Let’s dive in!


Dr. Kushnazarov Farruh
University Tashkent University of Information Technologies named after Muhammad al-Khwarizmi
2026 May 1st


Thank you all.


Table of Contents

Part 1: Foundations of Data Engineering

Chapter 1: Introduction to Data Engineering

Chapter 2: Data Modeling and Storage Paradigms

Chapter 3: The Open-Source Ecosystem

Part 2: Data Storage Solutions

Chapter 4: Relational Databases

Chapter 5: NoSQL Databases

Chapter 6: Object Storage and Data Lakes

Chapter 7: Data Warehousing and Lakehouse Architectures

Part 3: Data Processing and Orchestration

Chapter 8: Data Processing Frameworks: Spark and Flink

Chapter 9: Streaming Data with Kafka and Flink

Chapter 10: Transformations, Testing, and Analytics Engineering

Chapter 11: Data Orchestration and Workflow Management

Part 4: Analytics, Governance, Security, and Cloud Platforms

Chapter 12: Data Observability and Pipeline Reliability

Chapter 13: Data Governance and Security

Chapter 14: Data Engineering on Alibaba Cloud

Chapter 15: Cost, Performance, and Scalability Engineering

Chapter 16: Solution Selection Framework

Part 5: Data Engineering for AI and ML

Chapter 17: Data Engineering for RAG Applications

Chapter 18: ML Pipeline Engineering

Chapter 19: Feature Stores and Model Serving

Chapter 20: Vector Databases and Embeddings

Part 6: Business Applications and Case Studies

Chapter 21: Case Study: Building a Real-time Customer 360 Platform

Chapter 22: Case Study: Fraud Detection in Financial Services

Appendices

Appendix A: Setting Up Your Development Environment

Appendix B: A SQL and Python Primer

Appendix C: The Data Engineering Career Path

Appendix D: Further Reading and Resources

Appendix E: Glossary of Terms


How to Use This Book

This book is designed to be read sequentially, as each chapter builds on the concepts introduced in previous chapters. However, if you are already familiar with certain topics, you can skip ahead to the chapters that interest you most.

Each chapter follows a similar structure:

  1. Introduction: An overview of what you will learn

  2. Concepts: Detailed explanations of the key concepts

  3. Hands-On Examples: Practical code examples you can run yourself

  4. Best Practices: Production-ready advice from real-world experience

  5. Chapter Summary: A recap of the key takeaways

  6. Exercises: Practice problems to reinforce your learning

Make sure to work through the hands-on exercises and examples. Data engineering is a practical skill that is best learned by doing.


Let’s begin your journey into the world of data engineering!

Acknowledgments

This book would not have been possible without the support and contributions of many people: