Abstract
The Massive Parallel Computing (MPC) model gained popularity during the last decade and it is now seen as the standard model for processing large scale data. One significant shortcoming of the model is that it assumes to work on static datasets while, in practice, real-world datasets evolve continuously. To overcome this issue, in this paper we initiate the study of dynamic algorithms in the MPC model. We first discuss the main requirements for a dynamic parallel model and we show how to adapt the classic MPC model to capture them. Then we analyze the connection between classic dynamic algorithms and dynamic algorithms in the MPC model. Finally, we provide new efficient dynamic MPC algorithms for a variety of fundamental graph problems, including connectivity, minimum spanning tree and matching.
Introduction
Modern data processing relies heavily on the Massively Parallel Computation (MPC) model, which abstracts systems like MapReduce, Hadoop, and Spark. While MPC is highly effective for static datasets, it faces challenges with real-world data that evolves over time, such as social network links or web page updates. Currently, even minor changes in a massive graph often necessitate re-running entire MPC algorithms, which is prohibitively expensive in terms of time, memory, and communication. This paper addresses this gap by initiating the study of dynamic algorithms within the MPC framework.
The Dynamic MPC (DMPC) Model
The authors define the DMPC model, which imposes a strict memory limit of $O(\sqrt{N})$ per machine (where $N$ is the input size). The performance of algorithms in this model is evaluated based on three primary factors:
- Rounds per update: The number of synchronous communication steps required to process a change.
- Active machines: The number of machines that must participate in an update.
- Total communication: The volume of data exchanged per round.
To achieve efficiency, the paper employs several key techniques. For matching algorithms, a "coordinator" machine tracks a buffer of recent updates, while vertices are classified as "heavy" or "light" to manage memory constraints. For graph connectivity and Minimum Spanning Trees (MST), the authors maintain Euler tours of spanning forests, allowing them to handle edge deletions—the most challenging case—by efficiently splitting and reconnecting tree components in $O(1)$ rounds.
Key Results and Algorithmic Performance
The paper establishes that several core graph problems can be solved in $O(1)$ rounds per update in the DMPC model. These results demonstrate that small changes in massive datasets can be handled with minimal parallel resources, often requiring only a small subset of the cluster to be active.
As summarized in the table above, the authors provide constant-round algorithms for maximal matching, connected components, and $(1+\epsilon)$-MST. Notably, many of these algorithms require only $O(1)$ or $O(\sqrt{N})$ active machines, leaving the rest of the cluster free for other tasks. Additionally, the paper presents a general black-box reduction method to transform any sequential dynamic algorithm into a DMPC algorithm, where the number of rounds scales with the sequential update time.
Discussion and Future Work
A major insight of this work is that dynamic updates do not require the entire cluster to be active. By using distributed data structures like Euler tour trees, machines can "locally" determine if a replacement edge exists without global communication.
However, some limitations remain. Certain algorithms, such as maximal matching, rely on a single coordinator machine, which could become a performance bottleneck or a single point of failure. Furthermore, while the round complexity is optimal ($O(1)$), the total communication for some algorithms is $O(\sqrt{N})$. Future work could aim to reduce this communication to polylogarithmic levels and refine the model to better measure how uniformly communication is distributed across the cluster.
Summary updated