Steven Aerts is a Software Engineer at Airties, where he and his team are responsible for a Big Data platform analyzing and optimizing tens of millions of Wi-Fi access points.
Where they are passionate about finding simple solutions for complex problems, reliability, observability and cost efficiency.
Since JDK 11 Java Flight recorder is available to all of us through the OpenJDK. It gives visibility of what is happening in your code and under the hood of the JVM with an acceptable performance overhead.
Serverless functions allow us to run code in the cloud without the need to worry about infrastructure, scalability, nor maintenance.
They offer a lot of benefits but profiling or debugging production workflows does not come out of the box.
In this session, we will demo a novel way how to do this, by generating JFR traces for a serverless function without the need to change a single line of code and analyse the result with Java Mission Control.
It will not only show how the code itself behaves. But it also gives an idea what the cloud provider does with the JVM during the lifecycle of the serverless function.
The demo will be on an AWS lambda, but the method can be generally applied on most other JVM based serverless functions.