UKFaaS:使用Unikernel的轻量级、高性能和安全的FaaS通信

IF 3.8 2区 计算机科学 Q2 COMPUTER SCIENCE, HARDWARE & ARCHITECTURE
Zhenqian Chen;Yuchun Zhan;Peng Hu;Xinkui Zhao;Muyu Yang;Siwei Tan;Lufei Zhang;Liqiang Lu;Jianwei Yin;Zuoning Chen
{"title":"UKFaaS:使用Unikernel的轻量级、高性能和安全的FaaS通信","authors":"Zhenqian Chen;Yuchun Zhan;Peng Hu;Xinkui Zhao;Muyu Yang;Siwei Tan;Lufei Zhang;Liqiang Lu;Jianwei Yin;Zuoning Chen","doi":"10.1109/TC.2025.3586031","DOIUrl":null,"url":null,"abstract":"Unikernel is a promising runtime for serverless computing with its lightweight and isolated architecture. It offers a secure and efficient environment for applications. However, famous serverless frameworks like Knative have introduced heavyweight component sidecars to assist function instance deployment in a non-intrusive manner. But the sidecar not only hinders the throughput of unikernel function services but also consumes excessive memory resources. Moreover, the intricate network communication pathways among various services pose significant challenges for deploying unikernels in production serverless environments. Although shared-memory based communication on the same server can solve the communication bottleneck of unikernel-based function instances. The situation where malicious programs on the server make the shared memory untrustworthy limits the deployment of such technologies. We propose UKFaaS, a lightweight and high-performance serverless framework. UKFaaS leverages the advantages of customized operating systems through unikernel and it non-intrusively integrates sidecar functionality into the unikernel, avoiding the overhead of sidecar request forwarding. Additionally, UKFaaS innovatively implements data communication between unikernels in the same server to eliminate VM-Exit bottlenecks in RPC (remote process call) based on VMFUNC without relying on memory sharing. The preliminary experimental results indicate that UKFaaS can realize <inline-formula><tex-math>$1.8\\boldsymbol{\\times}$</tex-math></inline-formula>-<inline-formula><tex-math>$3.5\\boldsymbol{\\times}$</tex-math></inline-formula> request throughput per second (RPS) compared with the advanced serverless system FaasFlow, UaaF and Nightcore in the Google online boutique microservice benchmark.","PeriodicalId":13087,"journal":{"name":"IEEE Transactions on Computers","volume":"74 10","pages":"3305-3318"},"PeriodicalIF":3.8000,"publicationDate":"2025-07-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"UKFaaS: Lightweight, High-Performance and Secure FaaS Communication With Unikernel\",\"authors\":\"Zhenqian Chen;Yuchun Zhan;Peng Hu;Xinkui Zhao;Muyu Yang;Siwei Tan;Lufei Zhang;Liqiang Lu;Jianwei Yin;Zuoning Chen\",\"doi\":\"10.1109/TC.2025.3586031\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Unikernel is a promising runtime for serverless computing with its lightweight and isolated architecture. It offers a secure and efficient environment for applications. However, famous serverless frameworks like Knative have introduced heavyweight component sidecars to assist function instance deployment in a non-intrusive manner. But the sidecar not only hinders the throughput of unikernel function services but also consumes excessive memory resources. Moreover, the intricate network communication pathways among various services pose significant challenges for deploying unikernels in production serverless environments. Although shared-memory based communication on the same server can solve the communication bottleneck of unikernel-based function instances. The situation where malicious programs on the server make the shared memory untrustworthy limits the deployment of such technologies. We propose UKFaaS, a lightweight and high-performance serverless framework. UKFaaS leverages the advantages of customized operating systems through unikernel and it non-intrusively integrates sidecar functionality into the unikernel, avoiding the overhead of sidecar request forwarding. Additionally, UKFaaS innovatively implements data communication between unikernels in the same server to eliminate VM-Exit bottlenecks in RPC (remote process call) based on VMFUNC without relying on memory sharing. The preliminary experimental results indicate that UKFaaS can realize <inline-formula><tex-math>$1.8\\\\boldsymbol{\\\\times}$</tex-math></inline-formula>-<inline-formula><tex-math>$3.5\\\\boldsymbol{\\\\times}$</tex-math></inline-formula> request throughput per second (RPS) compared with the advanced serverless system FaasFlow, UaaF and Nightcore in the Google online boutique microservice benchmark.\",\"PeriodicalId\":13087,\"journal\":{\"name\":\"IEEE Transactions on Computers\",\"volume\":\"74 10\",\"pages\":\"3305-3318\"},\"PeriodicalIF\":3.8000,\"publicationDate\":\"2025-07-04\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"IEEE Transactions on Computers\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://ieeexplore.ieee.org/document/11071943/\",\"RegionNum\":2,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q2\",\"JCRName\":\"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Transactions on Computers","FirstCategoryId":"94","ListUrlMain":"https://ieeexplore.ieee.org/document/11071943/","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE","Score":null,"Total":0}
引用次数: 0

摘要

Unikernel是一种很有前途的无服务器计算运行时,它具有轻量级和隔离的体系结构。它为应用程序提供了一个安全高效的环境。然而,著名的无服务器框架(如Knative)已经引入了重量级组件侧车,以非侵入式的方式协助功能实例的部署。但这不仅影响了单内核功能服务的吞吐量,而且消耗了过多的内存资源。此外,各种服务之间复杂的网络通信路径对在无服务器生产环境中部署unikernels提出了重大挑战。虽然在同一服务器上基于共享内存的通信可以解决基于unikernel的函数实例的通信瓶颈。服务器上的恶意程序使共享内存不可信的情况限制了此类技术的部署。我们提出了UKFaaS,一个轻量级和高性能的无服务器框架。UKFaaS通过unikernel利用了定制操作系统的优势,它非侵入性地将sidecar功能集成到unikernel中,避免了sidecar请求转发的开销。此外,UKFaaS创新地实现了同一服务器上不同内核之间的数据通信,以消除基于VMFUNC的RPC(远程进程调用)中的VM-Exit瓶颈,而不依赖于内存共享。初步实验结果表明,在谷歌在线精品微服务基准测试中,与先进的无服务器系统FaasFlow、UaaF和Nightcore相比,UKFaaS可以实现$1.8\boldsymbol{\times}$-$3.5\boldsymbol{\times}$的每秒请求吞吐量(RPS)。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
UKFaaS: Lightweight, High-Performance and Secure FaaS Communication With Unikernel
Unikernel is a promising runtime for serverless computing with its lightweight and isolated architecture. It offers a secure and efficient environment for applications. However, famous serverless frameworks like Knative have introduced heavyweight component sidecars to assist function instance deployment in a non-intrusive manner. But the sidecar not only hinders the throughput of unikernel function services but also consumes excessive memory resources. Moreover, the intricate network communication pathways among various services pose significant challenges for deploying unikernels in production serverless environments. Although shared-memory based communication on the same server can solve the communication bottleneck of unikernel-based function instances. The situation where malicious programs on the server make the shared memory untrustworthy limits the deployment of such technologies. We propose UKFaaS, a lightweight and high-performance serverless framework. UKFaaS leverages the advantages of customized operating systems through unikernel and it non-intrusively integrates sidecar functionality into the unikernel, avoiding the overhead of sidecar request forwarding. Additionally, UKFaaS innovatively implements data communication between unikernels in the same server to eliminate VM-Exit bottlenecks in RPC (remote process call) based on VMFUNC without relying on memory sharing. The preliminary experimental results indicate that UKFaaS can realize $1.8\boldsymbol{\times}$-$3.5\boldsymbol{\times}$ request throughput per second (RPS) compared with the advanced serverless system FaasFlow, UaaF and Nightcore in the Google online boutique microservice benchmark.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
IEEE Transactions on Computers
IEEE Transactions on Computers 工程技术-工程:电子与电气
CiteScore
6.60
自引率
5.40%
发文量
199
审稿时长
6.0 months
期刊介绍: The IEEE Transactions on Computers is a monthly publication with a wide distribution to researchers, developers, technical managers, and educators in the computer field. It publishes papers on research in areas of current interest to the readers. These areas include, but are not limited to, the following: a) computer organizations and architectures; b) operating systems, software systems, and communication protocols; c) real-time systems and embedded systems; d) digital devices, computer components, and interconnection networks; e) specification, design, prototyping, and testing methods and tools; f) performance, fault tolerance, reliability, security, and testability; g) case studies and experimental and theoretical evaluations; and h) new and important applications and trends.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信