Dmitry Chuyko is a Performance Architect at BellSoft, one of the most active corporate OpenJDK developers. Previously he worked on HotSpot JVM in Oracle. His experience with Java showed that the most interesting problems in applications find their solutions in the underlying platform. Dmitry is mainly optimizing 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.
Have you recently moved to microservices? Your team is deploying the code much faster, but data transfer costs are going up as well, aren’t they? That’s because the size of containers matters the most, and keeping them lightweight means saving on bandwidth usage.
BellSoft’s engineers have come up with a solution, which is full-fledged Alpine Linux support in OpenJDK. By that, we’ve also invented a real-life TARDIS: Containers that take only a few MB of storage but carry enormous potential. With the release of JDK 16, the Portola Project has been integrated into the OpenJDK mainline as part of our JEP 386. Duct-taping with a glibc layer will become a thing of the past, as all the processes will connect flawlessly. Your company will get to use tiny container images independently of the distribution kit vendor. They have been available for a long time, but the official HotSpot port status for the musl library will expand the scope and simplify related development.
My talk is going to touch upon the benefits that Alpine Linux is bringing to the OpenJDK community. It will also explain how to optimize Docker images for free by changing just one or two lines of code. Lastly, I’ll offer a tool for choosing an optimal container that will suit your project perfectly.