Skip to main content
QUICK REVIEW

[Paper Review] DRS: Dynamic Resource Scheduling for Real-Time Analytics over Fast Streams

Tom Z. J. Fu, Jianbing Ding|arXiv (Cornell University)|Jan 15, 2015
Cloud Computing and Resource ManagementComputer Science31 references12 citations
TL;DR

DRS is a dynamic resource scheduler for cloud-based data stream management systems (DSMS) that uses a queuing-theory-based performance model to optimize resource allocation across operators in real time. It ensures low-latency response by accurately predicting required processors, reducing resource waste and maintaining real-time constraints even under workload fluctuations.

ABSTRACT

In a data stream management system (DSMS), users register continuous queries, and receive result updates as data arrive and expire. We focus on applications with real-time constraints, in which the user must receive each result update within a given period after the update occurs. To handle fast data, the DSMS is commonly placed on top of a cloud infrastructure. Because stream properties such as arrival rates can fluctuate unpredictably, cloud resources must be dynamically provisioned and scheduled accordingly to ensure real-time response. It is quite essential, for the existing systems or future developments, to possess the ability of scheduling resources dynamically according to the current workload, in order to avoid wasting resources, or failing in delivering correct results on time. Motivated by this, we propose DRS, a novel dynamic resource scheduler for cloud-based DSMSs. DRS overcomes three fundamental challenges: (a) how to model the relationship between the provisioned resources and query response time (b) where to best place resources; and (c) how to measure system load with minimal overhead. In particular, DRS includes an accurate performance model based on the theory of \emph{Jackson open queueing networks} and is capable of handling \emph{arbitrary} operator topologies, possibly with loops, splits and joins. Extensive experiments with real data confirm that DRS achieves real-time response with close to optimal resource consumption.

Motivation & Objective

  • To address the challenge of dynamically scheduling cloud resources in real-time data stream processing systems.
  • To ensure low-latency response by accurately estimating required computational resources for each operator.
  • To minimize resource waste and avoid system instability due to misallocated processors.
  • To enable efficient, scalable resource provisioning in complex, looped, or branched operator topologies.
  • To reduce scheduling overhead while maintaining strict real-time performance guarantees.

Proposed method

  • DRS employs a Jackson open queueing network model to predict response times based on arrival and processing rates.
  • It dynamically computes optimal processor allocations across operators using a performance model that accounts for splits, joins, and feedback loops.
  • The scheduler monitors system metrics with minimal overhead and triggers re-provisioning when response time exceeds thresholds.
  • It supports both resource addition (scaling out) and removal (scaling in) to adapt to workload changes.
  • The system integrates with Apache Storm and uses a lightweight re-balancing mechanism to minimize migration cost.
  • It separates measurement and scheduling logic, with measurement independent of total resource count and scheduling linear in total executor count.

Experimental results

Research questions

  • RQ1How can a dynamic resource scheduler accurately predict the required number of processors to meet real-time response constraints?
  • RQ2What is the most efficient way to schedule resources across a complex, possibly cyclic, operator topology in a streaming system?
  • RQ3How can system load be measured with minimal monitoring overhead while maintaining scheduling accuracy?
  • RQ4What is the performance overhead of the scheduler itself, and how does it scale with system size?
  • RQ5How can resource reconfiguration be performed with minimal disruption and latency during runtime?

Key findings

  • DRS achieves real-time response with near-optimal resource consumption, as validated on real-world video analytics workloads.
  • The system maintains response times below 500ms in high-load scenarios, even when input rates fluctuate unpredictably.
  • The computation overhead of DRS is negligible, with scheduling times under 1.3ms and measurement under 0.1ms across all tested configurations.
  • Re-balancing in DRS incurs significantly lower overhead than Storm’s default mechanism, especially when removing existing machines versus adding new ones.
  • The performance model remains robust even when theoretical assumptions (e.g., exponential service times) are not perfectly met in practice.
  • The scheduler successfully prevents overload propagation in complex topologies, such as those with feedback loops, by proactively adjusting resource allocation.

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.