We use cookies to improve your experience with our site.
Hong-Liang Li, Jie Wu, Zhen Jiang, Xiang Li, Xiao-Hui Wei. A Task Allocation Method for Stream Processing with Recovery Latency Constraint[J]. Journal of Computer Science and Technology, 2018, 33(6): 1125-1139. DOI: 10.1007/s11390-018-1876-6
Citation: Hong-Liang Li, Jie Wu, Zhen Jiang, Xiang Li, Xiao-Hui Wei. A Task Allocation Method for Stream Processing with Recovery Latency Constraint[J]. Journal of Computer Science and Technology, 2018, 33(6): 1125-1139. DOI: 10.1007/s11390-018-1876-6

A Task Allocation Method for Stream Processing with Recovery Latency Constraint

  • Stream processing applications continuously process large amounts of online streaming data in real time or near real time. They have strict latency constraints. However, the continuous processing makes them vulnerable to any failures,and the recoveries may slow down the entire processing pipeline and break latency constraints. The upstream backup scheme is one of the most widely applied fault-tolerant schemes for stream processing systems. It introduces complex backup dependencies to tasks, which increases the difficulty of controlling recovery latencies. Moreover, when dependent tasks are located on the same processor, they fail at the same time in processor-level failures, bringing extra recovery latencies that increase the impacts of failures. This paper studies the relationship between the task allocation and the recovery latency of a stream processing application. We present a correlated failure effect model to describe the recovery latency of a stream topology in processor-level failures under a task allocation plan. We introduce a recovery-latency aware task allocation problem (RTAP) that seeks task allocation plans for stream topologies that will achieve guaranteed recovery latencies. We discuss the difference between RTAP and classic task allocation problems and present a heuristic algorithm with a computational complexity of O(n log2 n) to solve the problem. Extensive experiments were conducted to verify the correctness and effectiveness of our approach. It improves the resource usage by 15%-20% on average.
  • loading

Catalog

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return