Integrating Scale Out and Fault Tolerance in Stream Processing using Operator State Management
File(s)sigfp460-castro.pdf (917.63 KB)
Accepted version
Author(s)
Fernandez, RC
Migliavacca, M
Kalyvianaki, E
Pietzuch, P
Type
Conference Paper
Abstract
As users of big data applications expect fresh results, we witness a new breed of stream processing systems (SPS) that are designed to scale to large numbers of cloud-hosted machines. Such systems face new challenges: (i) to benefit from the pay-as-you-go model of cloud computing, they must scale out on demand, acquiring additional virtual machines (VMs) and parallelising operators when the workload increases; (ii) failures are common with deployments on hundreds of VMs - systems must be fault-tolerant with fast recovery times, yet low per-machine overheads. An open question is how to achieve these two goals when stream queries include stateful operators, which must be scaled out and recovered without affecting query results. Our key idea is to expose internal operator state explicitly to the SPS through a set of state management primitives. Based on them, we describe an integrated approach for dynamic scale out and recovery of stateful operators. Externalised operator state is checkpointed periodically by the SPS and backed up to upstream VMs. The SPS identifies individual operator bottlenecks and automatically scales them out by allocating new VMs and partitioning the check-pointed state. At any point, failed operators are recovered by restoring checkpointed state on a new VM and replaying unprocessed tuples. We evaluate this approach with the Linear Road Benchmark on the Amazon EC2 cloud platform and show that it can scale automatically to a load factor of L=350 with 50 VMs, while recovering quickly from failures. Copyright © 2013 ACM.
Editor(s)
Papadias, D
Date Issued
2013
Citation
SIGMOD '13 Proceedings of the 2013 ACM SIGMOD International Conference on Management of Data, 2013, pp.725-736
ISBN
978-1-4503-2037-5
Publisher
ACM
Start Page
725
End Page
736
Journal / Book Title
SIGMOD '13 Proceedings of the 2013 ACM SIGMOD International Conference on Management of Data
Copyright Statement
© 2013 ACM. This is the author's version of the work. It is posted here by permission of ACM for your personal use. Not for redistribution.
Description
22.05.13 kb. Ok to add the author version to Spiral.
Source
ACM International Conference on Management of Data (SIGMOD)
Source Place
New York, NY
Start Date
2013-06-22
Finish Date
2013-06-27
Coverage Spatial
New York, New York