Descriptive and Predictive Analysis of Aggregating Functions in Serverless Clouds: the Case of Video Streaming

Shangrui Wu, Chavit Denninnart, Xiangbo Li, Yang Wang, Mohsen Amini Salehi

Abstract

Serverless clouds allocate multiple tasks (e.g., micro-services) from multiple users on a shared pool of computing resources. This enables serverless cloud providers to reduce their resource usage by transparently aggregate similar tasks of a certain context (e.g., video processing) that share the whole or part of their computation. To this end, it is crucial to know the amount of time-saving achieved by aggregating the tasks. Lack of such knowledge can lead to uninformed merging and scheduling decisions that, in turn, can cause deadline violation of either the merged tasks or other following tasks. Accordingly, in this paper, we study the problem of estimating execution-time saving resulted from merging tasks with the example in the context of video processing. To learn the execution-time saving in different forms of merging, we first establish a set of benchmarking videos and examine a wide variety of video processing tasks -- with and without merging in place. We observed that although merging can save up to 44% in the execution-time, the number of possible merging cases is intractable. Hence, in the second part, we leverage the benchmarking results and develop a method based on Gradient Boosting Decision Tree (GBDT) to estimate the time-saving for any given task merging case. Experimental results show that the method can estimate the time-saving with the error rate of 0.04, measured based on Root Mean Square Error (RMSE).

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
Task-merging execution-time saving predictionGradient Boosting Decision Tree (GBDT) execution-time saving predictorRoot Mean Square Error (RMSE)0.04Execution Time Saving Prediction
Source quote
L8: Experimental results show that the method can estimate the time-saving with the error rate of 0.04, measured based on Root Mean Square Error (RMSE).
Merged-task prediction cases (4P)GBDT execution-time saving predictorPrediction accuracy (% correct predictions)93%Execution Time Saving Prediction · model=GBDT · configuration=M=350, L=0.1, D=11, S=30, J=2 · merging-degree=4P · acceptable-error-threshold=τ=0.12
Source quote
L329: Both MLP and GBDT significantly perform more accurate for higher degrees of merging (4P and 5P) than the lower ones (2P and 3P). The reason is that, the lower degree of merging saves relatively low amount of execution-time, which is difficult to accurately predict. The maximum accuracy is 93% when GBDT is employed in 4P.
BibTeX
@misc{wu2020descriptive,
  author = {Shangrui Wu and Chavit Denninnart and Xiangbo Li and Yang Wang and Mohsen Amini Salehi},
  title = {{Descriptive and Predictive Analysis of Aggregating Functions in Serverless Clouds: the Case of Video Streaming}},
  year = {2020},
  eprint = {2012.06021},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2012.06021},
}

Loading related content...

Figure