{"title":"Always-On Recording Framework for Serverless Computations: Opportunities and Challenges","authors":"Shreyas Kharbanda, Pedro Fonseca","doi":"10.1145/3592533.3592810","DOIUrl":"https://doi.org/10.1145/3592533.3592810","url":null,"abstract":"Serverless computing simplifies cloud programming by managing infrastructure and providing basic primitives for building distributed components. However, these efforts tend to increase complexity as developers create large, interdependent applications. The highly distributed nature of serverless computations makes it challenging for developers to comprehend the granular behavior of their applications. To address this problem, we present our vision for an always-on recording framework for serverless computations. Our goal is to efficiently capture low-level details of serverless computations by refining the ideas of traditional record-replay approaches while exploiting the properties of serverless environments. This envisioned approach is poised to provide greater serverless computation visibility for developers to diagnose faults, understand interactions between components, conduct performance analysis, and ensure security and efficiency. Fully tapping this potential will require exploring several research directions, ranging from low-cost recording, storage, and data management systems to practical replay analysis tools.","PeriodicalId":375260,"journal":{"name":"Proceedings of the 1st Workshop on SErverless Systems, Applications and MEthodologies","volume":"76 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2023-05-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"126228146","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Tyler Ekaireb, Lukas Brand, Nagarjun Avaraddy, Markus Mock, C. Krintz, R. Wolski
{"title":"Laminar: Dataflow Programming for Serverless IoT Applications","authors":"Tyler Ekaireb, Lukas Brand, Nagarjun Avaraddy, Markus Mock, C. Krintz, R. Wolski","doi":"10.1145/3592533.3592805","DOIUrl":"https://doi.org/10.1145/3592533.3592805","url":null,"abstract":"Serverless computing has increased in popularity as a programming model for \"Internet of Things\" (IoT) applications that amalgamate IoT devices, edge-deployed computers and systems, and the cloud to interoperate. In this paper, we present Laminar - a dataflow program representation for distributed IoT application programming - and describe its implementation based on a network-transparent, event-driven, serverless computing infrastructure that uses append-only log storage to store all program state. We describe the initial implementation of Laminar, discuss some useful properties we obtained by leveraging log-based data structures and triggered computations of the underlying serverless runtime, and illustrate its performance and reliability characteristics using a set of benchmark applications.","PeriodicalId":375260,"journal":{"name":"Proceedings of the 1st Workshop on SErverless Systems, Applications and MEthodologies","volume":"1 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2023-05-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"128706654","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
G. Raffa, Jorge Blasco Alís, Dan O'Keeffe, Santanu Kumar Dash
{"title":"AWSomePy: A Dataset and Characterization of Serverless Applications","authors":"G. Raffa, Jorge Blasco Alís, Dan O'Keeffe, Santanu Kumar Dash","doi":"10.1145/3592533.3592811","DOIUrl":"https://doi.org/10.1145/3592533.3592811","url":null,"abstract":"Over the last few years, the serverless computing paradigm has become increasingly popular. Thanks to its cost-effectiveness and the possibility of relying on a cloud provider to manage the underlying infrastructure, companies making use of serverless platforms can fully focus on developing the business logic of their products. However, adopting the serverless model also implies facing several performance, traceability and security-related challenges. Some of them can be tackled by analysing real-world applications and identifying key trends, as these can guide the development of novel models and tools. In spite of this, little up-to-date information on such trends is currently available in the literature. In this work, we gather and interpret information that can be leveraged to analyse serverless applications. To achieve our goal, we study a set of applications developed in Python for the Amazon Web Services (AWS) platform. We first conduct an architectural analysis to identify serverless-specific parameters, e.g., plugins used in deployment tools and the number of events and handlers. We then perform an application code-level analysis in order to establish which cloud services and APIs developers use most frequently. Our results show that granular definition of handler permissions is not common practice. Furthermore, developers make use of configuration services and programmatic creation of cloud resources, thus adding workflows difficult to analyse statically. Our dataset, AWSomePy, is publicly available to support future research work.","PeriodicalId":375260,"journal":{"name":"Proceedings of the 1st Workshop on SErverless Systems, Applications and MEthodologies","volume":"10 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2023-05-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"125272670","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Christos Katsakioris, Chloe Alverti, K. Nikas, Stratos Psomadakis, Vasileios Karakostas, N. Koziris
{"title":"FaaSCell: A Case for Intra-node Resource Management: Work-In-Progress","authors":"Christos Katsakioris, Chloe Alverti, K. Nikas, Stratos Psomadakis, Vasileios Karakostas, N. Koziris","doi":"10.1145/3592533.3592812","DOIUrl":"https://doi.org/10.1145/3592533.3592812","url":null,"abstract":"Open-source FaaS platforms have recently shown rapid growth, which is usually manifested as extension or specialization of existing cloud-native components and systems -mainly over Kubernetes- since they are provably capable of standing their ground against production-level needs. Despite its advances, the cloud-native ecosystem has focused mostly on container-based deployments so far. FaaS workloads' need for massive colocation [1] without sacrificing security guarantees, pushes multi-tenancy to its limits.","PeriodicalId":375260,"journal":{"name":"Proceedings of the 1st Workshop on SErverless Systems, Applications and MEthodologies","volume":"205 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2023-05-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"116672426","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"A Study of Orchestration Approaches for Scientific Workflows in Serverless Computing","authors":"Abdallah Elshamy, Ahmed Alquraan, S. Al-Kiswany","doi":"10.1145/3592533.3592809","DOIUrl":"https://doi.org/10.1145/3592533.3592809","url":null,"abstract":"Scientific workflows are typically data- and compute-intensive. They consist of many stages, each of which may contain hundreds to even thousands of tasks. Traditionally, scientific workflows have been executed using the serverful computing model. Serverless computing presents an attractive alternative to the serverful computing model as it frees developers from managing and provisioning resources and offers a fine-grained pay-as-you-go pricing model. In this paper, we investigate the viability of using serverless computing to execute scientific workflows. Specifically, we discuss, implement, and evaluate three orchestration approaches for executing scientific workflows: serverful-centralized, serverless-centralized, and serverless-decentralized. This work is the first to implement and evaluate a purely serverless orchestration approach that does not require deploying a dedicated workflow manager. Our evaluation shows that serverless orchestration approaches cause a noticeable performance overhead for some workflow patterns (e.g., reduce stages) due to accessing a large amount of remote data. We propose two optimizations (i.e., prefetching file privileges and container placement) that exploit data locality to mitigate that impact. Our evaluation with the Montage application shows that a fully decentralized approach achieves a comparable performance to a serverful approach. Also, our results show that prefetching file privileges and container placement optimizations improve the performance by 26% and 44% respectively when compared to an unoptimized version.","PeriodicalId":375260,"journal":{"name":"Proceedings of the 1st Workshop on SErverless Systems, Applications and MEthodologies","volume":"86 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2023-05-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"126374176","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Serverless FPGA: Work-In-Progress","authors":"Fabio Maschi, Dario Korolija, G. Alonso","doi":"10.1145/3592533.3592804","DOIUrl":"https://doi.org/10.1145/3592533.3592804","url":null,"abstract":"In this short paper we investigate the combination of two emerging technologies: the tight provisioning requirements of Serverless computing and the acceleration potential of FPGAs. Serverless platforms suffer from container overheads, notably cold start latency, while having to adapt to Function-as-a-Service (FaaS) workloads. By exploring re-configurability of FPGAs and their acceleration power, we propose an innovative light-weight Serverless platform for FPGA-based FaaS applications which aims to reduce these overheads. In this study, we explore the feasibility of the idea by implementing key elements of such platform onto the FPGA. Our initial results show potential for acceleration in all aspects of function invocation.","PeriodicalId":375260,"journal":{"name":"Proceedings of the 1st Workshop on SErverless Systems, Applications and MEthodologies","volume":"23 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2023-05-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"121484097","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Towards Latency-Aware Linux Scheduling for Serverless Workloads","authors":"Al Amjad Tawfiq Isstaif, R. Mortier","doi":"10.1145/3592533.3592807","DOIUrl":"https://doi.org/10.1145/3592533.3592807","url":null,"abstract":"A key principle in the design of the Linux kernel's Completely Fair Scheduler (CFS) is fairness: all running tasks receive a minimum time slice during every scheduling period, ensuring that none starve. However, this may lead to a significant number of context switches when a server is overloaded with a large number of colocated tasks, which may cause significant degradation in server performance. Unfortunately, this situation is exactly what we found when hosting serverless-style workloads which typically consist of a large number of short-lived, CPU-bound functions sharing resources. We propose modifying the Linux CFS to mitigate this problem by giving priority to the long tail of least loaded functions. These are the functions which are mostly idle and only run occasionally for a short while after being triggered unexpectedly. The large number of such functions in serverless environments means that prioritising them helps drain contended CPU run queues, reducing the total overhead due to context switching, thereby improving the performance not only of the prioritised functions but other functions as well. We implement this policy in the Linux kernel scheduler and demonstrate how it integrates well with Knative, an open source Kubernetes-based serverless framework. Given contention scenarios synthesised from real-world traces, our modified CFS can introduce a 5--30% increase in attainment of latency targets.","PeriodicalId":375260,"journal":{"name":"Proceedings of the 1st Workshop on SErverless Systems, Applications and MEthodologies","volume":"02 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2023-05-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"127170579","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"What goes wrong in serverless runtimes? A survey of bugs in Knative Serving","authors":"Tim Goodwin, Andrew Quinn, L. Kuper","doi":"10.1145/3592533.3592806","DOIUrl":"https://doi.org/10.1145/3592533.3592806","url":null,"abstract":"Serverless runtime systems are complex software artifacts and difficult to make reliable. We present a large-scale empirical study of bugs in serverless runtimes, in the context of the popular open-source Knative Serving serverless platform. We analyze issues reported against Knative Serving over a three-year period and identify broad trends. Our findings shed light on the challenges of building correct, efficient serverless runtimes and suggest fruitful directions for further research.","PeriodicalId":375260,"journal":{"name":"Proceedings of the 1st Workshop on SErverless Systems, Applications and MEthodologies","volume":"39 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2023-05-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"128821337","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Trever Schirmer, Nils Japke, Sofia Greten, Tobias Pfandzelter, David Bermbach
{"title":"The Night Shift: Understanding Performance Variability of Cloud Serverless Platforms","authors":"Trever Schirmer, Nils Japke, Sofia Greten, Tobias Pfandzelter, David Bermbach","doi":"10.1145/3592533.3592808","DOIUrl":"https://doi.org/10.1145/3592533.3592808","url":null,"abstract":"Function-as-a-Service is a popular cloud programming model that supports developers by abstracting away most operational concerns with automatic deployment and scaling of applications. Due to the high level of abstraction, developers rely on the cloud platform to offer a consistent service level, as decreased performance leads to higher latency and higher cost given the pay-per-use model. In this paper, we measure performance variability of Google Cloud Functions over multiple months. Our results show that diurnal patterns can lead to performance differences of up to 15%, and that the frequency of unexpected cold starts increases threefold during the start of the week. This behavior can negatively impact researchers that conduct performance studies on cloud platforms and practitioners that run cloud applications.","PeriodicalId":375260,"journal":{"name":"Proceedings of the 1st Workshop on SErverless Systems, Applications and MEthodologies","volume":"20 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2023-04-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"124616961","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Proceedings of the 1st Workshop on SErverless Systems, Applications and MEthodologies","authors":"","doi":"10.1145/3592533","DOIUrl":"https://doi.org/10.1145/3592533","url":null,"abstract":"","PeriodicalId":375260,"journal":{"name":"Proceedings of the 1st Workshop on SErverless Systems, Applications and MEthodologies","volume":"18 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"115407399","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}