At re:Invent 2022, AWS announced SnapStart for AWS Lambda functions running on Java Corretto 11. This feature enables builders to achieve up to 10x faster function startup performance for Java functions, at no additional cost, and typically with minimal or no code changes.
During this workshop, participants learned how SnapStart addresses Java function performance. They explored how to enable SnapStart with infrastructure as code, customize snapshot behavior with runtime hooks, and identify potential refactoring areas with automated tooling. Additionally, best practices for performance tuning and snapshot creation were covered. By the end of the workshop, attendees were equipped to make well-informed decisions when using SnapStart for their Java-based AWS Lambda functions.