{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,22]],"date-time":"2026-10-22T17:01:38Z","timestamp":1792688498494,"version":"4.5.0"},"reference-count":33,"publisher":"Springer Science and Business Media LLC","issue":"2","license":[{"start":{"date-parts":[[2023,3,21]],"date-time":"2023-03-21T00:00:00Z","timestamp":1679356800000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2023,3,21]],"date-time":"2023-03-21T00:00:00Z","timestamp":1679356800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"funder":[{"name":"Universitat de Valencia"}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":["J Grid Computing"],"published-print":{"date-parts":[[2023,6]]},"abstract":"<jats:title>Abstract<\/jats:title><jats:p>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.<\/jats:p>","DOI":"10.1007\/s10723-023-09647-0","type":"journal-article","created":{"date-parts":[[2023,3,21]],"date-time":"2023-03-21T07:02:50Z","timestamp":1679382170000},"update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":10,"title":["Event-Driven Serverless Pipelines for Video Coding and Quality Metrics"],"prefix":"10.1007","volume":"21","author":[{"given":"Wilmer","family":"Moina-Rivera","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Miguel","family":"Garcia-Pineda","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Jose M.","family":"Claver","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Juan","family":"Guti\u00e9rrez-Aguado","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"297","published-online":{"date-parts":[[2023,3,21]]},"reference":[{"key":"9647_CR1","doi-asserted-by":"publisher","unstructured":"Ao, L., Izhikevich, L., Voelker, G.M., Porter, G.: Sprocket: a serverless video processing framework. In: Proceedings of the ACM Symposium on Cloud Computing, SoCC \u201918, pp. 263\u2013274. Association for Computing Machinery, New York, NY, USA. https:\/\/doi.org\/10.1145\/3267809.3267815 (2018)","DOI":"10.1145\/3267809.3267815"},{"key":"9647_CR2","unstructured":"CloudEvents: Cloudevents project. https:\/\/cloudevents.io\/. Accessed 01 Aug 2022 (2022)"},{"key":"9647_CR3","doi-asserted-by":"publisher","unstructured":"Dong, Y., Zhang, X., Zhao, Y., Song, L.: A containerized media cloud for video transcoding service. In: 2018 IEEE International Conference on Consumer Electronics (ICCE), pp. 1\u20134. https:\/\/doi.org\/10.1109\/ICCE.2018.8326347 (2018)","DOI":"10.1109\/ICCE.2018.8326347"},{"key":"9647_CR4","unstructured":"FFmpeg: Ffmpeg tool. https:\/\/ffmpeg.org\/ . Accessed 01 Aug 2022 (2022)"},{"key":"9647_CR5","unstructured":"Fouladi, S., Wahby, R. S., Shacklett, B., Balasubramaniam, K. V., Zeng, W., Bhalerao, R., Sivaraman, A., Porter, G., Winstein, K.: Encoding, fast and slow: Low-latency video processing using thousands of tiny threads. In: 14th USENIX Symposium on Networked Systems Design and Implementation (NSDI 17), pp. 363\u2013376 (2017)"},{"key":"9647_CR6","doi-asserted-by":"publisher","unstructured":"Guo, L., De Cock, J., Aaron, A.: Compression performance comparison of X264, X265, Libvpx and Aomenc for On-demand adaptive streaming applications. In: 2018 Picture Coding Symposium (PCS), pp. 26\u201330. https:\/\/doi.org\/10.1109\/PCS.2018.8456302 (2018)","DOI":"10.1109\/PCS.2018.8456302"},{"key":"9647_CR7","unstructured":"Guti\u00e9rrez-Aguado, J.: Adapting embeded Tomcat to develop event-driven serverless functions. In: JCIS2022. SISTEDES. http:\/\/hdl.handle.net\/11705\/JCIS\/2022\/040 (2022)"},{"key":"9647_CR8","doi-asserted-by":"publisher","unstructured":"Guti\u00e9rrez-Aguado, J., Pe\u00f1a-Ortiz, R., Garcia-Pineda, M., Claver, J.M.: A cloud-based distributed architecture to accelerate video encoders. Applied Sciences 10(15). https:\/\/doi.org\/10.3390\/app10155070. https:\/\/www.mdpi.com\/2076-3417\/10\/15\/5070 (2020)","DOI":"10.3390\/app10155070"},{"key":"9647_CR9","doi-asserted-by":"publisher","first-page":"102782","DOI":"10.1016\/j.jnca.2020.102782","volume":"171","author":"J Guti\u00e9rrez-Aguado","year":"2020","unstructured":"Guti\u00e9rrez-Aguado, J., Pe\u00f1a-Ortiz, R., Garc\u00eda-Pineda, M., Claver, J.M.: Cloud-based elastic architecture for distributed video encoding: evaluating H.265, VP9, and AV1. J. Netw. Comput. Appl. 171, 102782 (2020). https:\/\/doi.org\/10.1016\/j.jnca.2020.102782. https:\/\/www.sciencedirect.com\/science\/article\/pii\/S1084804520302563","journal-title":"J. Netw. Comput. Appl."},{"key":"9647_CR10","unstructured":"IBM Watson Media Support Center: Internet connection and recommended encoding settings \u2013 IBM Watson Media. https:\/\/support.video.ibm.com\/hc\/en-us\/articles\/207852117-Internet-connection-and-recommended-encoding-settings"},{"key":"9647_CR11","doi-asserted-by":"publisher","unstructured":"Jangda, A., Pinckney, D., Brun, Y., Guha, A.: Formal foundations of serverless computing. Proc. ACM Program. Lang. 3(OOPSLA). https:\/\/doi.org\/10.1145\/3360575 (2019)","DOI":"10.1145\/3360575"},{"key":"9647_CR12","doi-asserted-by":"publisher","first-page":"6802","DOI":"10.1109\/ACCESS.2016.2616540","volume":"4","author":"M Jeon","year":"2016","unstructured":"Jeon, M., Kim, N., Lee, B.: Mapreduce-based distributed video encoding using content-aware video segmentation and scheduling. IEEE Access 4, 6802\u20136815 (2016). https:\/\/doi.org\/10.1109\/ACCESS.2016.2616540","journal-title":"IEEE Access"},{"key":"9647_CR13","unstructured":"Kemp, S.: Digital 2022: Global Overview Report. https:\/\/datareportal.com\/reports\/digital-2022-global-overview-report (2022)"},{"issue":"1","key":"9647_CR14","first-page":"73","volume":"3","author":"M Kerdranvat","year":"2020","unstructured":"Kerdranvat, M., Chen, Y., Jullian, R., Galpin, F., Fran\u00e7ois, E.: The video codec landscape in 2020. ITU Journal: ICT Discoveries 3(1), 73\u201383 (2020). http:\/\/handle.itu.int\/11.1002\/pub\/8153d78c-en","journal-title":"ITU Journal: ICT Discoveries"},{"issue":"2","key":"9647_CR15","doi-asserted-by":"publisher","first-page":"213","DOI":"10.14257\/ijmue.2013.8.2.20","volume":"8","author":"M Kim","year":"2013","unstructured":"Kim, M., Cui, Y., Han, S., Lee, H.: Towards efficient design and implementation of a hadoop-based distributed video transcoding system in cloud computing environment. Int. J. Multimed. Ubiquit. Eng. 8(2), 213\u2013224 (2013). https:\/\/doi.org\/10.14257\/ijmue.2013.8.2.20","journal-title":"Int. J. Multimed. Ubiquit. Eng."},{"key":"9647_CR16","unstructured":"Knative: Knative is an open-source enterprise-level solution to build serverless and event driven applications. https:\/\/knative.dev\/docs\/. Accessed 01 Aug 2022 (2022)"},{"key":"9647_CR17","unstructured":"Lederer, S.: Optimal adaptive streaming formats mpeg-dash & hls segment length. Bitmovin . https:\/\/bitmovin.com\/mpeg-dash-hls-segment-length\/ (2020)"},{"key":"9647_CR18","doi-asserted-by":"publisher","unstructured":"Li, J., Kulkarni, S.G., Ramakrishnan, K.K., Li, D.: Analyzing open-source serverless platforms: characteristics and performance. International Conferences on Software Engineering and Knowledge Engineering . https:\/\/doi.org\/10.18293\/seke2021-129. (2021)","DOI":"10.18293\/seke2021-129"},{"key":"9647_CR19","unstructured":"Li, Z., Aaron, A., Katsavounidis, I., Moorthy, A., Manohara, M.: Toward a practical perceptual video quality metric. The Netflix Tech. Blog 6(2) (2016)"},{"key":"9647_CR20","doi-asserted-by":"crossref","unstructured":"Li, Z., Duanmu, Z., Liu, W., Wang, Z.: AVC, HEVC, VP9, AVS2 or AV1? - a comparative study of state-of-the-art video encoders on 4K videos. In: ICIAR (2019)","DOI":"10.1007\/978-3-030-27202-9_14"},{"key":"9647_CR21","doi-asserted-by":"publisher","unstructured":"Marathe, N., Gandhi, A., Shah, J. M.: Docker Swarm and Kubernetes in cloud computing environment. In: 2019 3Rd International Conference on Trends in Electronics and Informatics (ICOEI), pp. 179\u2013184 (2019), https:\/\/doi.org\/10.1109\/ICOEI.2019.8862654","DOI":"10.1109\/ICOEI.2019.8862654"},{"issue":"4","key":"9647_CR22","doi-asserted-by":"publisher","first-page":"691","DOI":"10.1007\/s10723-020-09523-1","volume":"18","author":"H Martins","year":"2020","unstructured":"Martins, H., Araujo, F., da Cunha, P. R.: Benchmarking serverless computing platforms. Journal of Grid Computing 18(4), 691\u2013709 (2020). https:\/\/doi.org\/10.1007\/s10723-020-09523-1","journal-title":"Journal of Grid Computing"},{"key":"9647_CR23","doi-asserted-by":"publisher","unstructured":"Moravcik, M., Kontsek, M.: Overview of docker container orchestration tools. In: 2020 18th International Conference on Emerging Elearning Technologies and Applications (ICETA), pp. 475\u2013480. https:\/\/doi.org\/10.1109\/ICETA51985.2020.9379236 (2020)","DOI":"10.1109\/ICETA51985.2020.9379236"},{"key":"9647_CR24","doi-asserted-by":"publisher","unstructured":"Pereira, R., Azambuja, M., Breitman, K., Endler, M.: An architecture for distributed high performance video processing in the cloud. In: 2010 IEEE 3Rd International Conference on Cloud Computing, pp. 482\u2013489 (2010), https:\/\/doi.org\/10.1109\/CLOUD.2010.73","DOI":"10.1109\/CLOUD.2010.73"},{"key":"9647_CR25","doi-asserted-by":"publisher","unstructured":"P\u00e4\u00e4kk\u00f6nen, P., Heikkinen, A., Aihkisalo, T.: Architecture for predicting live video transcoding performance on docker containers. In: 2018 IEEE International Conference on Services Computing (SCC), pp. 65\u201372 (2018), https:\/\/doi.org\/10.1109\/SCC.2018.00016","DOI":"10.1109\/SCC.2018.00016"},{"issue":"3","key":"9647_CR26","doi-asserted-by":"publisher","first-page":"30","DOI":"10.1007\/s10723-021-09570-2","volume":"19","author":"S Risco","year":"2021","unstructured":"Risco, S., Molt\u00f3, G., Naranjo, D.M., Blanquer, I.: Serverless workflows for containerised applications in the cloud continuum. Journal of Grid Computing 19(3), 30 (2021). https:\/\/doi.org\/10.1007\/s10723-021-09570-2","journal-title":"Journal of Grid Computing"},{"key":"9647_CR27","doi-asserted-by":"publisher","unstructured":"Sameti, S., Wang, M., Krishnamurthy, D.: Stride: distributed video transcoding in spark. In: 2018 IEEE 37th International Performance Computing and Communications Conference (IPCCC), pp. 1\u20138 (2018), https:\/\/doi.org\/10.1109\/PCCC.2018.8711214","DOI":"10.1109\/PCCC.2018.8711214"},{"key":"9647_CR28","doi-asserted-by":"publisher","unstructured":"Sameti, S., Wang, M., Krishnamurthy, D.: Contrast: container-based transcoding for interactive video streaming. In: NOMS 2020 - 2020 IEEE\/IFIP Network Operations and Management Symposium, pp. 1\u20139 (2020), https:\/\/doi.org\/10.1109\/NOMS47738.2020.9110469","DOI":"10.1109\/NOMS47738.2020.9110469"},{"issue":"1","key":"9647_CR29","doi-asserted-by":"publisher","first-page":"469","DOI":"10.1109\/COMST.2014.2360940","volume":"17","author":"M Seufert","year":"2014","unstructured":"Seufert, M., Egger, S., Slanina, M., Zinner, T., Ho\u00dffeld, T., Tran-Gia, P.: A survey on quality of experience of http adaptive streaming. IEEE Communications Surveys & Tutorials 17(1), 469\u2013492 (2014)","journal-title":"IEEE Communications Surveys & Tutorials"},{"key":"9647_CR30","doi-asserted-by":"publisher","unstructured":"Sharma, P., Chaufournier, L., Shenoy, P., Tay, Y.C.: Containers and virtual machines at scale: a comparative study. In: Proceedings of the 17th International Middleware Conference, Middleware \u201916. Association for Computing Machinery, New York, NY, USA (2016), https:\/\/doi.org\/10.1145\/2988336.2988337","DOI":"10.1145\/2988336.2988337"},{"key":"9647_CR31","doi-asserted-by":"publisher","unstructured":"Song, C., Shen, W., Sun, L., Lei, Z., Xu, W.: Distributed video transcoding based on mapreduce. In: 2014 IEEE\/ACIS 13th International Conference on Computer and Information Science (ICIS), pp. 309\u2013314 (2014), https:\/\/doi.org\/10.1109\/ICIS.2014.6912152","DOI":"10.1109\/ICIS.2014.6912152"},{"issue":"1","key":"9647_CR32","doi-asserted-by":"publisher","first-page":"25","DOI":"10.1109\/MS.2020.3028708","volume":"38","author":"D Taibi","year":"2021","unstructured":"Taibi, D., Spillner, J., Wawruch, K.: Serverless computing-where are we now, and where are we heading? IEEE Softw. 38(1), 25\u201331 (2021). https:\/\/doi.org\/10.1109\/MS.2020.3028708","journal-title":"IEEE Softw."},{"key":"9647_CR33","unstructured":"Wang, L., Li, M., Zhang, Y., Ristenpart, T.: Swift, M.: Peeking behind the curtains of serverless platforms. In: 2018 USENIX Annual Technical Conference (USENIX ATC 18), pp. 133\u2013146. USENIX Association, Boston, MA. https:\/\/www.usenix.org\/conference\/atc18\/presentation\/wang-liang (2018)"}],"container-title":["Journal of Grid Computing"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s10723-023-09647-0.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/article\/10.1007\/s10723-023-09647-0\/fulltext.html","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s10723-023-09647-0.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2023,6,23]],"date-time":"2023-06-23T22:41:41Z","timestamp":1687560101000},"score":1,"resource":{"primary":{"URL":"https:\/\/link.springer.com\/10.1007\/s10723-023-09647-0"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,3,21]]},"references-count":33,"journal-issue":{"issue":"2","published-print":{"date-parts":[[2023,6]]}},"alternative-id":["9647"],"URL":"https:\/\/doi.org\/10.1007\/s10723-023-09647-0","relation":{},"ISSN":["1570-7873","1572-9184"],"issn-type":[{"value":"1570-7873","type":"print"},{"value":"1572-9184","type":"electronic"}],"subject":[],"published":{"date-parts":[[2023,3,21]]},"assertion":[{"value":"1 August 2022","order":1,"name":"received","label":"Received","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"14 January 2023","order":2,"name":"accepted","label":"Accepted","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"21 March 2023","order":3,"name":"first_online","label":"First Online","group":{"name":"ArticleHistory","label":"Article History"}},{"order":1,"name":"Ethics","group":{"name":"EthicsHeading","label":"Compliance with Ethical Standards"}},{"value":"The authors declare that they have no conflict of interest.","order":2,"name":"Ethics","group":{"name":"EthicsHeading","label":"<!--Emphasis Type='Bold' removed-->Conflict of Interests"}},{"value":"Not applicable.","order":3,"name":"Ethics","group":{"name":"EthicsHeading","label":"<!--Emphasis Type='Bold' removed-->Informed Consent"}},{"value":"Not applicable.","order":4,"name":"Ethics","group":{"name":"EthicsHeading","label":"<!--Emphasis Type='Bold' removed-->Consent for Publication"}}],"article-number":"20"}}