Skip to main content
QUICK REVIEW

[Paper Review] A Scheduling Algorithm to Maximize Storm Throughput in Heterogeneous Cluster

Hamid Reza Nasiri, Saeed Nasehi|arXiv (Cornell University)|Jan 28, 2020
Cloud Computing and Resource ManagementComputer Science18 references5 citations
TL;DR

This paper proposes a heterogeneity-aware scheduling algorithm for Apache Storm that dynamically determines the optimal number of instances for each component in a stream processing topology and maps them to suitable cluster nodes based on computational capacity. By using a CPU utilization prediction model and iterative topology scaling, it achieves 7–44% higher throughput than Storm's default scheduler while maintaining 92% prediction accuracy and within 4% of optimal performance.

ABSTRACT

In the most popular distributed stream processing frameworks (DSPFs), programs are modeled as a directed acyclic graph. This model allows a DSPF to benefit from the parallelism power of distributed clusters. However, choosing the proper number of vertices for each operator and finding an appropriate mapping between these vertices and processing resources have a determinative effect on overall throughput and resource utilization; while the simplicity of current DSPFs' schedulers leads these frameworks to perform poorly on large-scale clusters. In this paper, we present the design and implementation of a heterogeneity-aware scheduling algorithm that finds the proper number of the vertices of an application graph and maps them to the most suitable cluster node. We start to scale up the application graph over a given cluster gradually, by increasing the topology input rate and taking new instances from bottlenecked vertices. Our experimental results on Storm Micro-Benchmark show that 1) the prediction model estimate CPU utilization with 92% accuracy. 2) Compared to default scheduler of Storm, our scheduler provides 7% to 44% throughput enhancement. 3) The proposed method can find the solution within 4% (worst case) of the optimal scheduler which obtains the best scheduling scenario using an exhaustive search on problem design space.

Motivation & Objective

  • To address the poor performance of Storm's default Round-Robin scheduler in heterogeneous clusters due to ignoring node heterogeneity.
  • To maximize application throughput and resource utilization in large-scale, heterogeneous stream processing environments.
  • To develop a scheduling algorithm that determines the optimal number of instances per component and maps them efficiently to cluster nodes.
  • To ensure no node is over-utilized by using a predictive model for CPU utilization based on machine capabilities.
  • To provide a scalable, efficient alternative to exhaustive search for optimal scheduling, achieving near-optimal results with low overhead.

Proposed method

  • The algorithm starts with a baseline topology and gradually scales it by increasing the input rate and adding new instances at bottlenecked vertices.
  • It uses a heterogeneity-aware prediction model to estimate CPU utilization of each task on different machines, based on profiling data.
  • The scheduler dynamically assigns instances to cluster nodes by considering their processing power, aiming to balance load and avoid over-subscription.
  • It employs an iterative, rate-based scaling strategy that identifies and resolves performance bottlenecks in the topology.
  • The algorithm is implemented as a modified Storm scheduler by extending its source code to support heterogeneous-aware task assignment.
  • It compares its solution against an exhaustive search-based optimal scheduler to evaluate performance gap.

Experimental results

Research questions

  • RQ1How can a stream processing scheduler effectively utilize heterogeneous cluster resources to maximize throughput in Storm?
  • RQ2What is the impact of ignoring node heterogeneity on throughput and resource utilization in Storm's default scheduler?
  • RQ3Can a prediction model accurately estimate CPU utilization across diverse machine types in a streaming workload?
  • RQ4How close can a heuristic scheduling algorithm come to the optimal solution in terms of throughput and resource balance?
  • RQ5What is the trade-off between scheduling complexity and performance gain in heterogeneous stream processing environments?

Key findings

  • The proposed scheduler achieves 7% to 44% higher throughput compared to Storm’s default Round-Robin scheduler across various topologies.
  • The CPU utilization prediction model estimates actual utilization with 92% accuracy, enabling reliable load estimation.
  • The algorithm’s solution is within 4% of the optimal scheduler’s performance, as determined by exhaustive search over the design space.
  • The method effectively prevents over-utilization of any cluster node by leveraging machine-specific profiling data.
  • The approach scales well with increasing cluster heterogeneity and input rates, maintaining high throughput and balanced resource usage.
  • The algorithm outperforms existing solutions like R-Storm and D-Storm by explicitly modeling heterogeneity and avoiding assumptions of homogeneous resources.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.