@conference {120, title = {Integrating Scale Out and Fault Tolerance in Stream Processing using Operator State Management}, booktitle = {ACM International Conference on Management of Data (SIGMOD)}, year = {2013}, month = {06/2013}, publisher = {ACM}, organization = {ACM}, address = {New York, NY}, abstract = {

As users of {\textquotedblleft}big data{\textquotedblright} 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 {\textquotedblleft}pay-as-you-go{\textquotedblright} 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{\textemdash}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 checkpointed 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.

}, keywords = {seep}, url = {http://lsds.doc.ic.ac.uk/research/doc/sigmod13-seep.pdf}, author = {Raul Castro Fernandez and Matteo Migliavacca and Evangelia Kalyvianaki and Peter Pietzuch} }