Michael Wawrzoniak, Rodrigo Bruno, Ana Klimovic, Gustavo Alonso
{"title":"Boxer:用于现成云应用的 FaaSt 瞬时弹性","authors":"Michael Wawrzoniak, Rodrigo Bruno, Ana Klimovic, Gustavo Alonso","doi":"arxiv-2407.00832","DOIUrl":null,"url":null,"abstract":"Elasticity is a key property of cloud computing. However, elasticity is\noffered today at the granularity of virtual machines, which take tens of\nseconds to start. This is insufficient to react to load spikes and sudden\nfailures in latency sensitive applications, leading users to resort to\nexpensive overprovisioning. Function-as-a-Service (FaaS) provides significantly\nhigher elasticity than VMs, but comes coupled with an event-triggered\nprogramming model and a constrained execution environment that makes them\nunsuitable for off-the-shelf applications. Previous work tries to overcome\nthese obstacles but often requires re-architecting the applications. In this\npaper, we show how off-the-shelf applications can transparently benefit from\nephemeral elasticity with FaaS. We built Boxer, an interposition layer spanning\nVMs and AWS Lambda, that intercepts application execution and emulates the\nnetwork-of-hosts environment that applications expect when deployed in a\nconventional VM/container environment. The ephemeral elasticity of Boxer\nenables significant performance and cost savings for off-the-shelf applications\nwith, e.g., recovery times over 5x faster than EC2 instances and absorbing load\nspikes comparable to overprovisioned EC2 VM instances.","PeriodicalId":501333,"journal":{"name":"arXiv - CS - Operating Systems","volume":"213 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-06-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Boxer: FaaSt Ephemeral Elasticity for Off-the-Shelf Cloud Applications\",\"authors\":\"Michael Wawrzoniak, Rodrigo Bruno, Ana Klimovic, Gustavo Alonso\",\"doi\":\"arxiv-2407.00832\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Elasticity is a key property of cloud computing. However, elasticity is\\noffered today at the granularity of virtual machines, which take tens of\\nseconds to start. This is insufficient to react to load spikes and sudden\\nfailures in latency sensitive applications, leading users to resort to\\nexpensive overprovisioning. Function-as-a-Service (FaaS) provides significantly\\nhigher elasticity than VMs, but comes coupled with an event-triggered\\nprogramming model and a constrained execution environment that makes them\\nunsuitable for off-the-shelf applications. Previous work tries to overcome\\nthese obstacles but often requires re-architecting the applications. In this\\npaper, we show how off-the-shelf applications can transparently benefit from\\nephemeral elasticity with FaaS. We built Boxer, an interposition layer spanning\\nVMs and AWS Lambda, that intercepts application execution and emulates the\\nnetwork-of-hosts environment that applications expect when deployed in a\\nconventional VM/container environment. The ephemeral elasticity of Boxer\\nenables significant performance and cost savings for off-the-shelf applications\\nwith, e.g., recovery times over 5x faster than EC2 instances and absorbing load\\nspikes comparable to overprovisioned EC2 VM instances.\",\"PeriodicalId\":501333,\"journal\":{\"name\":\"arXiv - CS - Operating Systems\",\"volume\":\"213 1\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2024-06-30\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"arXiv - CS - Operating Systems\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/arxiv-2407.00832\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Operating Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2407.00832","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Boxer: FaaSt Ephemeral Elasticity for Off-the-Shelf Cloud Applications
Elasticity is a key property of cloud computing. However, elasticity is
offered today at the granularity of virtual machines, which take tens of
seconds to start. This is insufficient to react to load spikes and sudden
failures in latency sensitive applications, leading users to resort to
expensive overprovisioning. Function-as-a-Service (FaaS) provides significantly
higher elasticity than VMs, but comes coupled with an event-triggered
programming model and a constrained execution environment that makes them
unsuitable for off-the-shelf applications. Previous work tries to overcome
these obstacles but often requires re-architecting the applications. In this
paper, we show how off-the-shelf applications can transparently benefit from
ephemeral elasticity with FaaS. We built Boxer, an interposition layer spanning
VMs and AWS Lambda, that intercepts application execution and emulates the
network-of-hosts environment that applications expect when deployed in a
conventional VM/container environment. The ephemeral elasticity of Boxer
enables significant performance and cost savings for off-the-shelf applications
with, e.g., recovery times over 5x faster than EC2 instances and absorbing load
spikes comparable to overprovisioned EC2 VM instances.