Remote Just-in-Time Compilation for Dynamic Languages
Remote Just-in-Time Compilation for Dynamic Languages
31 October 2023
Cloud platforms allow applications to meet fluctuating levels of demand while maximizing hardware occupancy at the same time. These deployment models are characterized by short-lived appli- cations running in resource-constrained environments. This poses a challenge for dynamic languages with just-in-time (JIT) compi- lation. Dynamic-language runtimes suffer from a warmup phase and resource-usage peaks caused by JIT compilation. Offloading compilation jobs to a dedicate server is a possible mitigation for these problems. We propose leveraging remote JIT compilation as means to enable coordination between the independent instances. By sharing compilation results, aggregating profiles, and adapting the compiler and compilation policy, we strive to improve peak performance and further reduce warmup times. Additionally, an implementation on top of the Truffle framework enables us to bring these benefits to many popular languages.
Venue : SPLASH 2023 Doctoral Symposium https://2023.splashcon.org/track/splash-2023-Doctoral-Symposium
File Name : Remote_Just_in_Time_Compilation_for_Dynamic_Languages__PhD_Symposium_ (1).pdf