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 条
  • [1] Event-Driven Serverless Pipelines for Video Coding and Quality Metrics
    Moina-Rivera, Wilmer
    Garcia-Pineda, Miguel
    Claver, Jose M.
    Gutierrez-Aguado, Juan
    JOURNAL OF GRID COMPUTING, 2023, 21 (02)
  • [2] An Event-Driven Serverless ETL Pipeline on AWS
    Pogiatzis, Antreas
    Samakovitis, Georgios
    APPLIED SCIENCES-BASEL, 2021, 11 (01): : 1 - 13
  • [3] Formalizing Event-Driven Behavior of Serverless Applications
    Obetz, Matthew
    Das, Anirban
    Castiglia, Timothy
    Patterson, Stacy
    Milanova, Ana
    SERVICE-ORIENTED AND CLOUD COMPUTING (ESOCC 2020), 2020, 12054 : 19 - 29
  • [4] EVENT-DRIVEN VIDEO CODING FOR OUTDOOR WIRELESS MONITORING CAMERAS
    Chen, Zichong
    Barrenetxea, Guillermo
    Vetterli, Martin
    2012 IEEE INTERNATIONAL CONFERENCE ON IMAGE PROCESSING (ICIP 2012), 2012, : 1121 - 1124
  • [5] An Event-Driven Approach to Serverless Seismic Imaging in the Cloud
    Witte, Philipp A.
    Louboutin, Mathias
    Modzelewski, Henryk
    Jones, Charles
    Selvage, James
    Herrmann, Felix J.
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2020, 31 (09) : 2032 - 2049
  • [6] Event-driven Video Frame Synthesis
    Wang, Zihao W.
    Jiang, Weixin
    He, Kuan
    Shi, Boxin
    Katsaggelos, Aggelos
    Cossairt, Oliver
    2019 IEEE/CVF INTERNATIONAL CONFERENCE ON COMPUTER VISION WORKSHOPS (ICCVW), 2019, : 4320 - 4329
  • [7] Event-Driven Video Abstraction and Visualization
    Jeho Nam
    Ahmed H. Tewfik
    Multimedia Tools and Applications, 2002, 16 : 55 - 77
  • [8] Event-driven video abstraction and visualization
    Nam, J
    Tewfik, AH
    MULTIMEDIA TOOLS AND APPLICATIONS, 2002, 16 (1-2) : 55 - 77
  • [9] On-premises Serverless Computing for Event-Driven Data Processing Applications
    Perez, Alfonso
    Risco, Sebastian
    Naranjo, Diana Maria
    Caballer, Miguel
    Molto, German
    2019 IEEE 12TH INTERNATIONAL CONFERENCE ON CLOUD COMPUTING (IEEE CLOUD 2019), 2019, : 414 - 421
  • [10] A serverless gateway for event-driven machine learning inference in multiple clouds
    Naranjo, Diana M.
    Risco, Sebastian
    Molto, German
    Blanquer, Ignacio
    CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2023, 35 (18):