CloudJIT: A Just-in-Time FaaS Optimizer (Work in Progress)

被引:0
|
作者
Ivanenko, Serhii [1 ]
Bruno, Rodrigo [1 ]
Stevanovic, Jovan [2 ]
Veiga, Luis [1 ]
Jovanovic, Vojin [3 ]
机构
[1] ULisboa, Tecnico, INESCID, Lisbon, Portugal
[2] Oracle Labs, Belgrade, Serbia
[3] Oracle Labs, Zurich, Switzerland
关键词
Function-as-a-Service; Ahead-of-Time Compilation; Just-In-Time Compilation; GraalVM Native Image;
D O I
10.1145/3617651.3622990
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Function-as-a-Service has emerged as a trending paradigm that provides attractive solutions to execute fine-grained and short-lived workloads referred to as functions. Functions are typically developed in a managed language such as Java and execute atop a language runtime. However, traditional language runtimes such as the HotSpot JVM are designed for peak performance as considerable time is spent profiling and Just-in-Time compiling code. As a consequence, warm-up time and memory footprint are impacted. We observe that FaaS workloads, which are short-lived, do not fit this profile. We propose CloudJIT, a self-optimizing FaaS platform that takes advantage of Ahead-of-Time compilation to achieve reduced startup latency and instantaneous peak performance with a smaller memory footprint. While AOT compilation is an expensive operation, the platform automatically detects which functions will benefit from it the most, performs all prerequisite preparation procedures, and compiles selected functions into native binaries. Our preliminary analysis, based on a public FaaS invocations trace, shows that optimizing a small fraction of all functions positively affects a vast majority of all cold starts.
引用
收藏
页码:12 / 19
页数:8
相关论文
共 50 条
  • [21] Just-in-time hiring
    Huey, JW
    FORTUNE, 2000, 141 (07) : 34 - 34
  • [22] JUST-IN-TIME - REPLY
    WALLEIGH, RC
    HARVARD BUSINESS REVIEW, 1986, 64 (04) : 149 - &
  • [23] TOWARDS JUST-IN-TIME
    HOBSON, J
    JOURNAL OF THE SOCIETY OF DYERS AND COLOURISTS, 1991, 107 (09): : 305 - 307
  • [24] JUST-IN-TIME - A LOSER
    BURDELL, GP
    AUTOMOTIVE INDUSTRIES, 1985, 165 (01): : 13 - 13
  • [25] Just-in-time physics
    Crease, Robert P.
    PHYSICS WORLD, 2013, 26 (08) : 19 - 19
  • [26] Is just-in-time enough?
    Connell, Gail
    Assembly engineering, 1988, 31 (08): : 28 - 31
  • [27] JUST-IN-TIME TRAINING
    不详
    TRAINING & DEVELOPMENT, 1991, 45 (11): : 4 - 4
  • [28] Just-in-time chimes
    Crandall, Richard E.
    INDUSTRIAL ENGINEER, 2007, 39 (10): : 10 - 10
  • [29] Just-in-time DG
    不详
    POWER, 2004, 148 (08) : 10 - 10
  • [30] Just-in-time certification
    Rushby, John
    12TH IEEE INTERNATIONAL CONFERENCE ON ENGINEERING COMPLEX COMPUTER SYSTEMS, PROCEEDINGS, 2007, : 15 - 24