Paul Krill
Editor at Large

AWS Lambda kickstarts Java functions

news
Nov 30, 20221 min

AWS Lambda SnapStart cuts Java startup times by initializing Java functions ahead of time and caching a snapshot of the initialized execution environment.

Java  >  Lambda expressions  >  Lambda symbol / circuits / puzzle pieces
Credit: GreyFebruary / Getty Images

AWS has unveiled AWS Lambda SnapStart for Java, a performance optimization intended to make it easier to build responsive, scalable Java applications using AWS Lambda, the serverless, event-driven compute service in the Amazon cloud.

Introduced November 28, AWS Lambda SnapStart for Java improves startup times by initializing a function’s code ahead of time, taking a snapshot of the initialized execution environment, and caching it. When the function is invoked and scales up, SnapStart resumes new execution environments from the cached snapshot instead of having to initialize them from scratch, thus improving startup latency. AWS said.

Elaborating on its reasoning for the service, AWS said that for latency-sensitive applications where users want to support unpredictable bursts of traffic, lengthy startup latencies can negatively impact the user experience. AWS Lambda SnapStart is ideal for applications such as interactive microservices, data processing, or synchronous APIs.

Users can activate Lambda SnapStart for new or existing Java-based Lambda functions running on Amazon Corretto 11 via the AWS Lambda API, AWS Management Console, AWS Command Line Interface, and other AWS capabilities. Lambda SnapStart is generally available in AWS regions including Ohio, Northern Virginia, Oregon, Asia Pacific, and Ireland.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author