# Megaphone: Latency-conscious state migration for distributed streaming   dataflows

**Authors:** Moritz Hoffmann, Andrea Lattuada, Frank McSherry, Vasiliki Kalavri,, John Liagouris, and Timothy Roscoe

arXiv: 1812.01371 · 2019-04-17

## TL;DR

Megaphone is a latency-aware state migration mechanism for distributed dataflow engines that minimizes latency spikes during reconfiguration by enabling fine-grained, pre-prepared migrations, improving performance without high overhead.

## Contribution

It introduces a configurable, pre-preparable migration approach integrated into timely dataflow, reducing latency spikes during state reconfiguration.

## Key findings

- Reduces latency during reconfiguration by orders of magnitude.
- Maintains low steady-state overhead.
- Effective across various benchmarks and state sizes.

## Abstract

We design and implement Megaphone, a data migration mechanism for stateful distributed dataflow engines with latency objectives. When compared to existing migration mechanisms, Megaphone has the following differentiating characteristics: (i) migrations can be subdivided to a configurable granularity to avoid latency spikes, and (ii) migrations can be prepared ahead of time to avoid runtime coordination. Megaphone is implemented as a library on an unmodified timely dataflow implementation, and provides an operator interface compatible with its existing APIs. We evaluate Megaphone on established benchmarks with varying amounts of state and observe that compared to na\"ive approaches Megaphone reduces service latencies during reconfiguration by orders of magnitude without significantly increasing steady-state overhead.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1812.01371/full.md

## Figures

33 figures with captions in the complete paper: https://tomesphere.com/paper/1812.01371/full.md

## References

30 references — full list in the complete paper: https://tomesphere.com/paper/1812.01371/full.md

---
Source: https://tomesphere.com/paper/1812.01371