{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,12,8]],"date-time":"2025-12-08T22:42:29Z","timestamp":1765233749155,"version":"3.41.0"},"reference-count":47,"publisher":"Association for Computing Machinery (ACM)","issue":"4","license":[{"start":{"date-parts":[[2024,2,22]],"date-time":"2024-02-22T00:00:00Z","timestamp":1708560000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["SIGMETRICS Perform. Eval. Rev."],"published-print":{"date-parts":[[2024,2,22]]},"abstract":"<jats:p>Serverless (or Function-as-a-Service) compute model enables new applications with dynamic scaling. However, all current Serverless systems are best-effort, and as we prove this means they cannot guarantee hard real-time deadlines, rendering them unsuitable for such real-time applications.<\/jats:p>\n          <jats:p>We analyze a proposed extension of the Serverless model that adds a guaranteed invocation rate to the serverless model called Real-time Serverless. This approach aims to meet real-time deadlines with dynamically allocated function invocations. We first prove that the Serverless model does not support real-time guarantees. Next, we analyze Real-time Serverless, showing it can guarantee application real-time deadlines for rate-monotonic real-time workloads. Further, we derive bounds on the required invocation rate to meet any set of workload runtimes and periods. Subsequently, we explore an application technique, pre-invocation, and show that it can reduce the required guaranteed invocation rate. We derive bounds for the feasible rate guarantee reduction, and corresponding overhead in wasted compute resources. Finally, we apply the theoretical results to improve the experience quality of a distributed virtual reality\/ augmented reality application as well as simplify the application design and resource management.<\/jats:p>","DOI":"10.1145\/3649477.3649497","type":"journal-article","created":{"date-parts":[[2024,2,23]],"date-time":"2024-02-23T23:05:43Z","timestamp":1708729543000},"page":"54-65","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":1,"title":["A Foundation for Real-time Applications onFunction-as-a-Service"],"prefix":"10.1145","volume":"51","author":[{"given":"Hai","family":"Duc Nguyen","sequence":"first","affiliation":[{"name":"University of Chicago"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Andrew A.","family":"Chien","sequence":"additional","affiliation":[{"name":"University of Chicago &amp; Argonne National Laboratory"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2024,2,23]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.1145\/3373400.3373405"},{"key":"e_1_2_1_2_1","volume-title":"https:\/\/aws.amazon.com\/lambda\/","author":"Lambda AWS","year":"2015","unstructured":"AWS Lambda. https:\/\/aws.amazon.com\/lambda\/, 2015."},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/3267809.3267815"},{"key":"e_1_2_1_4_1","unstructured":"Provisioned Concurrency for Lambda Functions. https:\/\/aws.amazon.com\/blogs\/aws\/new-provision ed-concurrency-for-lambda-functions\/."},{"key":"e_1_2_1_5_1","unstructured":"M. Azure\". Azure dedicated host. https:\/\/azure.microsoft.com\/is-is\/services\/vir tual-machines\/dedicated-host\/."},{"key":"e_1_2_1_6_1","volume-title":"34th Euromicro Conference on Real-Time Systems (ECRTS 2022","author":"Barletta M.","year":"2022","unstructured":"M. Barletta, M. Cinque, L. De Simone, and R. Della Corte. Achieving isolation in mixed-criticality industrial edge systems with real-time containers. In 34th Euromicro Conference on Real-Time Systems (ECRTS 2022). Schloss Dagstuhl-Leibniz-Zentrum f\u00a8ur Informatik, 2022."},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.5555\/2051749"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.1145\/3369583.3392683"},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1109\/SCC.2019.00018"},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1007\/s11761-023-00360-0"},{"key":"e_1_2_1_11_1","volume-title":"31st Euromicro Conference on Real-Time Systems (ECRTS 2019","author":"Cinque M.","year":"2019","unstructured":"M. Cinque, R. Della Corte, A. Eliso, and A. Pecchia. Rt-cases: Container-based virtualization for temporally separated mixed-criticality task sets. In 31st Euromicro Conference on Real-Time Systems (ECRTS 2019). Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik, 2019."},{"key":"e_1_2_1_12_1","volume-title":"A survey of hard real-time scheduling for multiprocessor systems. ACM computing surveys (CSUR), 43(4):1--44","author":"Davis R. I.","year":"2011","unstructured":"R. I. Davis and A. Burns. A survey of hard real-time scheduling for multiprocessor systems. ACM computing surveys (CSUR), 43(4):1--44, 2011."},{"key":"e_1_2_1_13_1","unstructured":"Function-as-a-Service Market. https:\/\/www.reportsanddata.com\/report-detail\/ function-as-a-service-faas-market."},{"key":"e_1_2_1_14_1","volume-title":"Fast and Slow: Low-latency Video Processing Using Thousands of Tiny Threads. In 14th USENIX NSDI'17","author":"Fouladi S.","year":"2017","unstructured":"S. Fouladi and et. al. Encoding, Fast and Slow: Low-latency Video Processing Using Thousands of Tiny Threads. In 14th USENIX NSDI'17, 2017."},{"key":"e_1_2_1_15_1","unstructured":"Google Cloud Functions. https:\/\/cloud.google.com\/functions\/."},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1145\/3368235.3368834"},{"key":"e_1_2_1_17_1","first-page":"1","volume-title":"2018 USENIX Annual Technical Conference (USENIX ATC 18)","author":"Harlap A.","year":"2018","unstructured":"A. Harlap, A. Chung, A. Tumanov, G. R. Ganger, and P. B. Gibbons. Tributary: spot-dancing for elastic services with latency slos. In 2018 USENIX Annual Technical Conference (USENIX ATC 18), pages 1--14, 2018."},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.proeng.2011.11.2568"},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1145\/321738.321743"},{"key":"e_1_2_1_20_1","first-page":"38","volume-title":"Proceedings of the International Conference for High Performance Computing, Networking, Storage, and Analysis","author":"Liu F.","unstructured":"F. Liu, K. Keahey, P. Riteau, and J. Weissman. Dynamically Negotiating Capacity between On-demand and Batch Clusters. In Proceedings of the International Conference for High Performance Computing, Networking, Storage, and Analysis, page 38. IEEE Press, 2018."},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1109\/TNSM.2021.3125395"},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.1109\/EMRTS.2004.1311009"},{"key":"e_1_2_1_23_1","volume-title":"https:\/\/azure.microsoft.com\/","author":"Cloud Microsoft Azure","year":"2010","unstructured":"Microsoft Azure Cloud. https:\/\/azure.microsoft.com\/, 2010."},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1186\/s13677-021-00245-7"},{"key":"e_1_2_1_25_1","unstructured":"Most actions per minute in a videogame. https: \/\/www.guinnessworldrecords.com\/world-records\/8 8069-most-actions-per-minute-in-a-videogame."},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.1109\/COMST.2018.2869350"},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.1145\/3366623.3368133"},{"key":"e_1_2_1_28_1","doi-asserted-by":"publisher","DOI":"10.1145\/3452413.3464786"},{"key":"e_1_2_1_29_1","unstructured":"OpenFaaS. https:\/\/docs.openfaas.com."},{"key":"e_1_2_1_30_1","unstructured":"A. Passwater. 2018 Serverless Community Survey: Huge Growth in Serverless Usage."},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.23919\/CSMS.2021.0022"},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.1007\/s12652-019-01203-7"},{"key":"e_1_2_1_33_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.future.2021.12.012"},{"key":"e_1_2_1_34_1","doi-asserted-by":"publisher","DOI":"10.1023\/B:TIME.0000045317.37980.a5"},{"key":"e_1_2_1_35_1","unstructured":"Realtime serverless cell monitor. https:\/\/observablehq.com\/@tomlarkworthy\/server less-cell-latency-monitor."},{"key":"e_1_2_1_36_1","doi-asserted-by":"publisher","DOI":"10.1145\/3503221.3508407"},{"key":"e_1_2_1_37_1","doi-asserted-by":"publisher","DOI":"10.1109\/JSEN.2019.2939182"},{"key":"e_1_2_1_38_1","unstructured":"A. W. Services. Build a serverless real-time data processing app. https:\/\/amzn.to\/2JcoFPp."},{"key":"e_1_2_1_39_1","first-page":"205","volume-title":"2020 USENIX Annual Technical Conference (USENIX ATC 20)","author":"Shahrad M.","year":"2020","unstructured":"M. Shahrad, R. Fonseca, I. Goiri, G. Chaudhry, P. Batum, J. Cooke, E. Laureano, C. Tresness, M. Russinovich, and R. Bianchini. Serverless in the wild: Characterizing and optimizing the serverless workload at a large cloud provider. In 2020 USENIX Annual Technical Conference (USENIX ATC 20), pages 205--218. USENIX Association, July 2020."},{"key":"e_1_2_1_40_1","volume-title":"A survey and comparative study of hard and soft real-time dynamic resource allocation strategies for multi-\/many-core systems. ACM Computing Surveys (CSUR), 50(2):1--40","author":"Singh A. K.","year":"2017","unstructured":"A. K. Singh, P. Dziurzanski, H. R. Mendis, and L. S. Indrusiak. A survey and comparative study of hard and soft real-time dynamic resource allocation strategies for multi-\/many-core systems. ACM Computing Surveys (CSUR), 50(2):1--40, 2017."},{"key":"e_1_2_1_41_1","first-page":"154","volume-title":"High Performance Computing: 4th Latin American Conference, CARLA","author":"Spillner J.","year":"2017","unstructured":"J. Spillner, C. Mateos, and D. A. Monge. Faaster, better, cheaper: The prospect of serverless scientific computing and hpc. In High Performance Computing: 4th Latin American Conference, CARLA 2017, Buenos Aires, Argentina, and Colonia del Sacramento, Uruguay, September 20--22, 2017, Revised Selected Papers 4, pages 154--168. Springer, 2018."},{"key":"e_1_2_1_42_1","doi-asserted-by":"publisher","DOI":"10.1007\/s11042-018-7051-9"},{"key":"e_1_2_1_43_1","volume-title":"2nd Workshop on Fog Computing and the IoT (Fog-IoT 2020","author":"Struh\u00b4ar V.","year":"2020","unstructured":"V. Struh\u00b4ar, M. Behnam, M. Ashjaei, and A. V. Papadopoulos. Real-time containers: A survey. In 2nd Workshop on Fog Computing and the IoT (Fog-IoT 2020). Schloss Dagstuhl-Leibniz-Zentrum f\u00a8ur Informatik, 2020."},{"key":"e_1_2_1_44_1","doi-asserted-by":"publisher","DOI":"10.1109\/CLOUD53861.2021.00065"},{"key":"e_1_2_1_45_1","doi-asserted-by":"publisher","DOI":"10.1109\/TCC.2022.3151469"},{"key":"e_1_2_1_46_1","first-page":"79","article-title":"Deterministic networking (detnet) vs time sensitive networking (tsn)","author":"Yang X.","year":"2019","unstructured":"X. Yang, D. Scholz, and M. Helm. Deterministic networking (detnet) vs time sensitive networking (tsn). Network, 79, 2019.","journal-title":"Network"},{"key":"e_1_2_1_47_1","doi-asserted-by":"publisher","DOI":"10.1109\/TII.2020.3011506"}],"container-title":["ACM SIGMETRICS Performance Evaluation Review"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3649477.3649497","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3649477.3649497","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T23:56:53Z","timestamp":1750291013000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3649477.3649497"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024,2,22]]},"references-count":47,"journal-issue":{"issue":"4","published-print":{"date-parts":[[2024,2,22]]}},"alternative-id":["10.1145\/3649477.3649497"],"URL":"https:\/\/doi.org\/10.1145\/3649477.3649497","relation":{},"ISSN":["0163-5999"],"issn-type":[{"type":"print","value":"0163-5999"}],"subject":[],"published":{"date-parts":[[2024,2,22]]},"assertion":[{"value":"2024-02-23","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}