Unlock the Power of Java Modules: Reduce App Startup by 80% and Slash Container Size by 30%!

<p>As a software engineer, I spend most of my time developing highly distributed backend systems that can scale depending on the load. These systems get deployed into a container orchestration system like ECS or EKS, which means I need to containerize them and push them to a central image registry to be fetched by the orchestration system and deployed. So the container image size is critical in these cases as it directly affects the time taken to pull the image and start the container.</p> <p><img alt="" src="https://miro.medium.com/v2/resize:fit:490/0*GCmT0v51TLzMwlzU.jpg" style="height:378px; width:490px" /></p> <p>Container image using Java modules and custom runtime</p> <p>Recently I read a lot about the Java modules system and how I can use it to build a custom Java runtime, so I decided if I could use this feature to reduce the memory and performance footprint of my existing applications without diving deep into Java modules system and understanding how it works.</p> <p><a href="https://levelup.gitconnected.com/unlock-the-power-of-java-modules-reduce-app-startup-by-80-and-slash-container-size-by-30-a6d1a4455787"><strong>Website</strong></a></p>
Tags: App Startup