Event-Driven Serverless Pipelines for Video Coding and Quality Metrics

被引:0
|
作者
Wilmer Moina-Rivera
Miguel Garcia-Pineda
Jose M. Claver
Juan Gutiérrez-Aguado
机构
[1] Universitat de València,Computer Science Department
来源
Journal of Grid Computing | 2023年 / 21卷
关键词
Serverless; Function as a service; CloudEvents; Video coding; Quality metrics; HTTP adaptive streaming;
D O I
暂无
中图分类号
学科分类号
摘要
Nowadays, the majority of Internet traffic is multimedia content. Video streaming services are in high demand by end users and use HTTP Adaptive Streaming (HAS) as transmission protocol. HAS splits the video into non-overlapping chunks and each video chunk can be encoded independently using different representations. Therefore, these encode tasks can be parallelized and Cloud computing can be used for this. However, in the most extended solutions, the infrastructure must be configured and provisioned in advance. Recently, serverless platforms have made posible to deploy functions that can scale from zero to a configurable maximum. This work presents and analyses the behavior of event-driven serverless functions to encode video chunks and to compute, optionally, the quality of the encoded videos. These functions have been implemented using an adapted version of embedded Tomcat to deal with CloudEvents. We have deployed these event-driven serverless pipelines for video coding and quality metrics on an on-premises serverless platform based on Knative on one master node and eight worker nodes. We have tested the scalability and resource consumption of the proposed solution using two video codecs: x264 and AV1, varying the maximum number of replicas and the resources allocated to them (fat and slim function replicas). We have encoded different 4K videos to generate multiple representations per function call and we show how it is possible to create pipelines of serverless media functions. The results of the different tests carried out show the good performance of the serverless functions proposed. The system scales the replicas and distributes the jobs evenly across all the replicas. The overall encoding time is reduced by 18% using slim replicas but fat replicas are more adequate in live video streaming as the encoding time per chunk is reduced. Finally, the results of the pipeline test show an appropriate distribution and chaining among the available replicas of each function type.
引用
收藏
相关论文
共 50 条
  • [31] Fast Retinomorphic Event-Driven Representations for Video Gameplay and Action Recognition
    Chen, Huaijin
    Liu, Wanjia
    Goel, Rishab
    Lua, Rhonald C.
    Mittal, Siddharth
    Huang, Yuzhong
    Veeraraghavan, Ashok
    Patel, Ankit B.
    IEEE TRANSACTIONS ON COMPUTATIONAL IMAGING, 2020, 6 : 276 - 290
  • [32] Event-Driven Messaging for Offline Data Quality Monitoring at ATLAS
    Onyisi, Peter
    21ST INTERNATIONAL CONFERENCE ON COMPUTING IN HIGH ENERGY AND NUCLEAR PHYSICS (CHEP2015), PARTS 1-9, 2015, 664
  • [33] Information Quality Aware Routing in Event-Driven Sensor Networks
    Tan, Hwee-Xian
    Chan, Mun-Choon
    Xiao, Wendong
    Kong, Peng-Yong
    Tham, Chen-Khong
    2010 PROCEEDINGS IEEE INFOCOM, 2010,
  • [34] Event-Driven Query Expansion
    Rosin, Guy D.
    Guy, Ido
    Radinsky, Kira
    WSDM '21: PROCEEDINGS OF THE 14TH ACM INTERNATIONAL CONFERENCE ON WEB SEARCH AND DATA MINING, 2021, : 391 - 399
  • [35] Event-driven Adaptation in COP
    Degano, Pierpaolo
    Ferrari, Gian-Luigi
    Galletta, Letterio
    ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2016, (211): : 37 - 45
  • [36] Event-Driven Packet Processing
    Ibanez, Stephen
    Antichi, Gianni
    Brebner, Gordon
    McKeown, Nick
    PROCEEDINGS OF THE EIGHTEENTH ACM WORKSHOP ON HOT TOPICS IN NETWORKS (HOTNETS '19), 2019, : 133 - 140
  • [37] Optimizing event-driven simulations
    De Michele, C.
    COMPUTER PHYSICS COMMUNICATIONS, 2011, 182 (09) : 1846 - 1850
  • [38] Event-driven power management
    Simunic, T
    Benini, L
    Glynn, P
    De Micheli, G
    IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, 2001, 20 (07) : 840 - 857
  • [39] On Event-Driven Business Integration
    Frank, Joachim H.
    Zeng, Liangzhao
    2013 IEEE 10TH INTERNATIONAL CONFERENCE ON E-BUSINESS ENGINEERING (ICEBE), 2013, : 82 - 89
  • [40] EVENT-DRIVEN MODULO SAMPLING
    Florescu, Dorian
    Krahmer, Felix
    Bhandari, Ayush
    2021 IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH AND SIGNAL PROCESSING (ICASSP 2021), 2021, : 5435 - 5439