Nightcore: Efficient and Scalable Serverless Computing for Latency-Sensitive, Interactive Microservices

被引:108
作者
Jia, Zhipeng [1 ]
Witchel, Emmett [1 ]
机构
[1] Univ Texas Austin, Austin, TX 78712 USA
来源
ASPLOS XXVI: TWENTY-SIXTH INTERNATIONAL CONFERENCE ON ARCHITECTURAL SUPPORT FOR PROGRAMMING LANGUAGES AND OPERATING SYSTEMS | 2021年
关键词
Cloud computing; serverless computing; function-as-a-service; microservices;
D O I
10.1145/3445814.3446701
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
The microservice architecture is a popular software engineering approach for building flexible, large-scale online services. Serverless functions, or function as a service (FaaS), provide a simple programming model of stateless functions which are a natural substrate for implementing the stateless RPC handlers of microservices, as an alternative to containerized RPC servers. However, current serverless platforms have millisecond-scale runtime overheads, making them unable to meet the strict sub-millisecond latency targets required by existing interactive microservices. We present Nightcore, a serverless function runtime with microsecond-scale overheads that provides container-based isolation between functions. Nightcore's design carefully considers various factors having microsecond-scale overheads, including scheduling of function requests, communication primitives, threading models for I/O, and concurrent function executions. Nightcore currently supports serverless functions written in C/C++, Go, Node.js, and Python. Our evaluation shows that when running latency-sensitive interactive microservices, Nightcore achieves 1.36x-2.93x higher throughput and up to 69% reduction in tail latency.
引用
收藏
页码:152 / 166
页数:15
相关论文
共 113 条
[1]  
adamdrake, EN MICR
[2]  
Akkus IE, 2018, PROCEEDINGS OF THE 2018 USENIX ANNUAL TECHNICAL CONFERENCE, P923
[3]   Data Center TCP (DCTCP) [J].
Alizadeh, Mohammad ;
Greenberg, Albert ;
Maltz, David A. ;
Padhye, Jitendra ;
Patel, Parveen ;
Prabhakar, Balaji ;
Sengupta, Sudipta ;
Sridharan, Murari .
ACM SIGCOMM COMPUTER COMMUNICATION REVIEW, 2010, 40 (04) :63-74
[4]  
[Anonymous], 2014, OSDI 14
[5]  
[Anonymous], About us
[6]  
[Anonymous], What are microservices?
[7]   Sprocket: A Serverless Video Processing Framework [J].
Ao, Lixiang ;
Izhikevich, Liz ;
Voelker, Geoffrey M. ;
Porter, George .
PROCEEDINGS OF THE 2018 ACM SYMPOSIUM ON CLOUD COMPUTING (SOCC '18), 2018, :263-274
[8]  
apache, AP THRIFT HOM
[9]  
aws, REM CAS STUD
[10]  
aws, SERV MICR MICR AWS