{"title":"tinyFaaS: A Lightweight FaaS Platform for Edge Environments","authors":"Tobias Pfandzelter, David Bermbach","doi":"10.1109/ICFC49376.2020.00011","DOIUrl":null,"url":null,"abstract":"The Function-as-a-Service (FaaS) model is a great fit for data and event processing in the Internet of Things (IoT). Sending all data to a cloud-based FaaS platform, however, may cause performance and privacy issues. While these issues could be mitigated using edge computing, existing FaaS approaches, designed for the cloud, are too heavyweight to run on small, constrained edge nodes.In this paper, we propose tinyFaaS, a new FaaS system that is specifically designed for edge environments and their unique challenges. Our platform is lightweight enough to run on low-performance single machine edge nodes, provides a CoAP endpoint to support communication with low-power devices, and uses Docker containers to isolate tenants. We evaluate tinyFaaS through a proof-of-concept implementation that we benchmark and compare to state-of-the-art FaaS platforms. For IoT processing scenarios, we find that tinyFaaS outperforms existing systems by at least an order of magnitude.","PeriodicalId":173977,"journal":{"name":"2020 IEEE International Conference on Fog Computing (ICFC)","volume":"20 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-04-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"60","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2020 IEEE International Conference on Fog Computing (ICFC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICFC49376.2020.00011","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 60
Abstract
The Function-as-a-Service (FaaS) model is a great fit for data and event processing in the Internet of Things (IoT). Sending all data to a cloud-based FaaS platform, however, may cause performance and privacy issues. While these issues could be mitigated using edge computing, existing FaaS approaches, designed for the cloud, are too heavyweight to run on small, constrained edge nodes.In this paper, we propose tinyFaaS, a new FaaS system that is specifically designed for edge environments and their unique challenges. Our platform is lightweight enough to run on low-performance single machine edge nodes, provides a CoAP endpoint to support communication with low-power devices, and uses Docker containers to isolate tenants. We evaluate tinyFaaS through a proof-of-concept implementation that we benchmark and compare to state-of-the-art FaaS platforms. For IoT processing scenarios, we find that tinyFaaS outperforms existing systems by at least an order of magnitude.