2018 · 10 citations · 20 references
ComputingComputer ScienceComputer SystemsDistributed SystemsMessage PassingReal-time SystemsData PipelinesDistributed Data ProcessingLatency OptimizationStream ProcessingThroughput OptimizationBroker ArchitectureData Stream ProcessingLow-latency Data PipelinesStream Processing PipelinesStreaming ArchitecturesStreaming Data ProcessingTail LatencyTail Latency Reduction
Over the last decade, organizations have become heavily reliant on providing near-instantaneous insights to the end user based on vast amounts of data collected from various sources in real-time. In order to accomplish this task, a stream processing pipeline is constructed, which in its most basic form, consists of a Stream Processing Engine (SPE) and a Message Broker (MB). The SPE is responsible for performing actual computations on the data and providing insights from it. MB, on the other hand, acts as an intermediate queue to which data is written by ephemeral sources and then fetched by the SPE to perform computations on. Due to the inherent real-time nature of such a pipeline, low latency is a highly desirable feature for them. Thus, several existing research works in the community focus on improving latency and throughput of the streaming pipeline. However, there is a dearth of studies optimizing the tail latencies of such pipelines. Moreover, the root cause of this high tail latency is still vague. In this paper, we propose a model-based approach to analyze in-depth the reasons behind high tail latency in streaming systems such as Apache Kafka. Having found the MB to be a major contributor of messages with high tail latencies in a streaming pipeline, we design and implement an RDMA-enhanced high-performance MB, called Frieda, with the higher goal of accelerating any arbitrary stream processing pipeline regardless of the SPE used. Our experiments show a reduction of up to 98% in 99.9th percentile latency for microbenchmarks and up to 31% for full-fledged stream processing pipeline constructed using Yahoo! Streaming Benchmark.
20
Luiz André Barroso · Communications of the ACM · 2013 · 1.7K citations
ZooKeeper: wait-free coordination for internet-scale systems
P. G. Hunt, Mahadev Konar, Flavio Junqueira et al. · 2010 · 1.3K citations
Matei Zaharia, Tathagata Das, Haoyuan Li et al. · 2013 · 964 citations · Full text
Sanjeev Kulkarni, Nikunj Bhagat, Maosong Fu et al. · 2015 · 547 citations · Full text