MillWheel

Tyler Akidau, Alex Balikov, Kaya Bekiroğlu, Slava Chernyak, Josh Haberman, Reuven Lax, Sam McVeety, D Mills, Paul Nordstrom, Sam Whittle

Proceedings of the VLDB Endowment · 2013 · 533 citations · 29 references

Concepts

TL;DR

MillWheel is a low‑latency data‑processing framework widely used at Google, designed from the outset for fault tolerance and scalability, and exemplified by a continuous anomaly detector case study. This paper describes MillWheel’s programming model and its implementation. MillWheel lets users define a directed computation graph and node code, while the system manages persistent state, continuous record flow, and fault‑tolerance guarantees. The programming model introduces logical time for easy time‑based aggregations, and in practice its scalability, fault tolerance, and versatility enable many Google applications.

Abstract

MillWheel is a framework for building low-latency data-processing applications that is widely used at Google. Users specify a directed computation graph and application code for individual nodes, and the system manages persistent state and the continuous flow of records, all within the envelope of the framework's fault-tolerance guarantees. This paper describes MillWheel's programming model as well as its implementation. The case study of a continuous anomaly detector in use at Google serves to motivate how many of MillWheel's features are used. MillWheel's programming model provides a notion of logical time, making it simple to write time-based aggregations. MillWheel was designed from the outset with fault tolerance and scalability in mind. In practice, we find that MillWheel's unique combination of scalability, fault tolerance, and a versatile programming model lends itself to a wide variety of problems at Google.

References

29