SpringBoot is the most widely used application framework in Java, but did you know you can run your SpringBoot applications on AWS Lambda in as little as 10 minutes without changing a single line of code.
Historically, SpringBoot applications on Lambda have suffered from multi-second cold starts. This caused a challenge for customer facing API's.
At reInvent 2022 AWS announced Lambda SnapStart. A new feature for Lambda built to directly impact cold starts for Java based Lambda functions.
In this video, we take a look at how to enable SnapStart for your Lambda functions and the performance impact. In this case, a latency reduction from 7 seconds down to 700ms.
00:00 - Introduction to Lambda SnapStart
01:20 - API performance BEFORE SnapStart
02:35 - Enabling SnapStart
03:10 - Lambda Aliases & Versions
04:00 - Creating a SnapStart enabled version
04:35 - SnapStart logs
05:55 - API Performance AFTER SnapStart
06:20 - Latency
07:55 - Configuring SnapStart in Application Code
08:30 - BeforeCheckpoint & AfterRestore hooks
Links
GitHub Repo - https://github.com/jeastham1993/java-...
Launch Blog - https://aws.amazon.com/blogs/aws/new-...
AWS Serverless Java Container - https://github.com/awslabs/aws-server...
AWS Lambda - https://aws.amazon.com/lambda/
AWS SAM - https://aws.amazon.com/serverless/sam/
Web - https://jameseastham.co.uk
Twitter - / plantpowerjames
LinkedIn - / james-eastham
Auf dieser Seite können Sie das Online-Video AWS Lambda SnapStart for Java Applications mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer James Eastham 28 November 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 3,955 Mal angesehen und es wurde von 71 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!