GraalVM allows you to compile your programs ahead-of-time into a native executable. The resulting program does not run on the Java HotSpot VM, but uses necessary components like memory management, thread scheduling from a different implementation of a virtual machine, called Substrate VM.
Native images are fast and slim in resources therefore a perfect fit for small servers, cli applications or serverless functions! Think running your Java application in less than 10Mb of RAM and less than 40Mb of total storage space!
In this talk I’ll show you how you can build a realtime application that interacts with postgres, consumes realtime bitcoin events over websocket and publishes this information over sockjs to a SPA web application! I’ll tell you all the tricks and how to avoid the limitations of this new cool technology so you can start building your native images as soon the talk is done!