首页> 外文会议>IEEE International Conference on Joint Cloud Computing >Nuka: A Generic Engine with Millisecond Initialization for Serverless Computing
【24h】

Nuka: A Generic Engine with Millisecond Initialization for Serverless Computing

机译:Nuka:具有毫秒级初始化功能的通用引擎,用于无服务器计算

获取原文

摘要

Serverless computing is becoming one of the mainstream trends in cloud computing due to its advantages of simplified programming and cost saving. However, existing serverless platforms still adopt Docker container as its execution engine, which has the cold start problem and causes high common-case invocation latency. In this work, we analyze the lifecycle of common-case serverless invocation on existing serverless platforms and find that current container startup and pulling remote images are the two main reasons causing cold start so slow. Based on the study, we implement Nuka, a generic engine with millisecond initialization for serverless computing. Nuka is fully compatible with Docker interface and can smoothly re-place Docker as the execution engine of existing serverless plat-forms. Through the isolation pool that reuses Linux’s isolation configurations, Nuka avoids the high cost of container startup’s scalability bottleneck, which reduces container’s startup time with high concurrency scale. Nuka also avoids pulling remote images through dynamically resolving and importing required software packages from local package caching. A self-adaptive container reuse strategy dynamically controls container's pause time and replica numbers, which effectively reduces the frequency of cold start. Compared with Docker, Nuka can get a millisecond initialization with high concurrency and significantly reduces average time cost of cold startup by 6× on existing serverless platforms.
机译:由于无服务器计算具有简化编程和节省成本的优势,因此正成为云计算的主流趋势之一。但是,现有的无服务器平台仍采用Docker容器作为其执行引擎,存在启动冷的问题,并导致较高的普通案例调用延迟。在这项工作中,我们分析了现有无服务器平台上的普通案例无服务器调用的生命周期,发现当前容器启动和提取远程映像是导致冷启动如此缓慢的两个主要原因。根据这项研究,我们实现了Nuka,这是一种具有毫秒级初始化功能的通用引擎,用于无服务器计算。 Nuka与Docker接口完全兼容,可以平稳地将Docker替换为现有无服务器平台的执行引擎。通过重用Linux隔离配置的隔离池,Nuka避免了容器启动的可伸缩性瓶颈的高额成本,从而以高并发规模缩短了容器的启动时间。 Nuka还通过动态解析和从本地程序包缓存导入所需的软件包来避免提取远程映像。自适应容器重用策略可动态控制容器的暂停时间和副本数,从而有效降低冷启动的频率。与Docker相比,Nuka可以以高并发率获得毫秒级的初始化,并且可以在现有无服务器平台上将冷启动的平均时间成本降低6倍。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号