[Paper Review] Visual Insights into Agentic Optimization of Pervasive Stream Processing Services
The paper presents MUDAP and RASK, a two-part platform and agent for context-aware, multi-dimensional autoscaling of co-located edge stream-processing services to meet SLOs. It also visualizes how the agent learns and improves SLO fulfillment over time.
Processing sensory data close to the data source, often involving Edge devices, promises low latency for pervasive applications, like smart cities. This commonly involves a multitude of processing services, executed with limited resources; this setup faces three problems: first, the application demand and the resource availability fluctuate, so the service execution must scale dynamically to sustain processing requirements (e.g., latency); second, each service permits different actions to adjust its operation, so they require individual scaling policies; third, without a higher-level mediator, services would cannibalize any resources of services co-located on the same device. This demo first presents a platform for context-aware autoscaling of stream processing services that allows developers to monitor and adjust the service execution across multiple service-specific parameters. We then connect a scaling agent to these interfaces that gradually builds an understanding of the processing environment by exploring each service's action space; the agent then optimizes the service execution according to this knowledge. Participants can revisit the demo contents as video summary and introductory poster, or build a custom agent by extending the artifact repository.
Motivation & Objective
- Motivate autoscaling of pervasive stream processing on edge devices under dynamic resource constraints.
- Enable fine-grained, service-specific parameter adjustments beyond traditional CPU scaling.
- Provide a scalable agentic approach that learns environment dynamics and optimizes multi-service configurations.
- Demonstrate visualization of the agent’s internal models and its impact on SLO fulfillment.
Proposed method
- Introduce MUDAP for fine-grained adjustments of service execution and resources via a REST API.
- Present RASK, which builds regression-based models from time-series data to interpret parameter effects on SLOs.
- Combine models and SLO targets with a numerical solver to infer global scaling actions.
- Enable autonomous, decentralized scaling of multiple co-located services on edge devices.
- Visualize the agent’s learned world model and its impact on SLO fulfillment over time.
Experimental results
Research questions
- RQ1How can a multi-dimensional autoscaling platform (MUDAP) enable fine-grained control of stream processing services on edge devices?
- RQ2Can a scaling agent (RASK) learn a predictive model of parameter effects on SLO fulfillment from time-series data?
- RQ3Does integrating regression-based models with a numerical solver yield effective, decentralized autoscaling across multiple co-located services?
- RQ4To what extent can agent-driven scaling improve SLO fulfillment compared to baseline or non-agent approaches?
Key findings
- The demonstration shows SLO fulfillment improving from 56% to 98% within 300 seconds of agent-driven scaling.
- Across 300 seconds of exploitation, the agent maintains high SLO fulfillment by selecting configurations along a Pareto front of optimal assignments.
- The approach is more sample-efficient than typical RL methods like Q-learning in achieving accurate environment models.
- RASK operates on edge devices, enabling autonomous and robust scaling of multiple co-located services.
- The artifact repository and visual demo allow researchers to extend the scaling agent to new services and parameters.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.