Time to market defines the success of companies, so they seek to minimize TTM through infrastructure unification. One way to do that is to use clouds and containers. If you don’t think about container quality, they will be useless. We believe containers should be small, fast, and secure. We propose using lightweight JDK containers based on Alpine Linux. BellSofts engineers introduced full-fledged Alpine Linux support in OpenJDK. Any JDK vendor can now provide tiny container images based on OpenJDK. The official HotSpot port status for the musl library expands the scope and simplifies related development. We also invented a real-life TARDIS: Containers that take up much less space but carry enormous potential. Since the Portola Project was integrated into the OpenJDK mainline as part of our JEP 386, duct-taping with a glibc layer became a thing of the past, as all the container parts now connect flawlessly. Inside of the TARDIS you will find a real sonic screwdriver because small Alpine Linux is amazingly performant, especially in combination with Liberica JDK Lite optimized for dense cloud deployments. My talk will cover the benefits of Alpine Linux port for the OpenJDK community. You will find out how to optimize Docker images for free by changing one or two lines of code. We will also discover another tool to boost the container performance: the Alpaca Linux distribution. In the end, you will be able to use the described schema to choose an optimal container for your project.
Talk Level:
ADVANCED
Bio:
Dmitry Chuyko is a Performance Architect at BellSoft, one of the most active corporate OpenJDK developers. He previously worked on the HotSpot JVM at Oracle. His experience with Java has shown that the most interesting problems in applications find their solution in the underlying platform. Dmitry mainly optimizes HotSpot for x86 and ARM, and also contributed to the development of JEP 386 to make the smallest JDK containers legal.
Dmitry is an OpenJDK committer and conference speaker.