Docker Who: Small Containers Through Time and Space
Do. 16:40 - 17:25 Uhr | 2022
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.
Dmitry Chuyko is a Performance Architect at BellSoft, one of the most active corporate OpenJDK developers. Before joining BellSoft, he worked on HotSpot JVM in Oracle. His previous experience with Java showed that the most interesting problems in applications find their solutions in the underlying platform. Dmitry is currently mainly optimizing HotSpot for x86 and ARM, and also contributed to the development of JEP 386 to make the smallest Java containers even better. Dmitry is a committer in OpenJDK and a speaker at conferences such as Oracle Code One, Devoxx, GeeCON or JPoint, as well as at JUG meetups in different countries.