Skip to main content
  • Log in
  • Manage Cookies
EclipseCon - Eclipse Foundation
  • Conference
    • Program Schedule
    • Program List
    • Registration
  • Features
    • Community Day
    • Hacker Day
    • Dinner Meetups
    • OSGi Summit
    • Keynotes
  • Community
    • Code of Conduct
    • Health & Safety at EclipseCon
    • Community Resources
    • 2022 Speakers
    • Information for Speakers
  • Sponsors
    • Be a Sponsor
    • Information for Exhibitors
    • Our Sponsors
    • Sponsor Testimonials
  • Venue
    • Conference Venue
    • Hotels
    • Ludwigsburg
  • About Us
    • EclipseCon 2022
    • Program Committee
    • The Eclipse Foundation
    • Past Conferences
    • Other Events
  1. Home
  2. EclipseCon
  3. EclipseCon 2022
  4. Sessions
  5. Afraid of Java cold starts in Serverless? Fear not, Java is super fast!

Afraid of Java cold starts in Serverless? Fear not, Java is super fast!

Session details
Status: 
Accepted
Speaker(s): 
Ondro Mihalyi (Omnifish OU)
Experience level: 
Beginner
Tags: 
serverless
Java
cold start
Jakarata EE
cloudnative
Session Type: 
Standard

For years, we’ve been told that Java suffers from cold starts in AWS Lambda and Serverless in general. Believe it not. Java is extremely fast to start, the simplest Java program starts in milliseconds. It’s the Java frameworks and libraries that slow things down in general. But not all of them…

In this session, I want to show you the truth about Serverless Java and cold starts, what’s slow, what’s fast and why it matters. We’ll go through what a cold start is, how cold starts in AWS Lambda impact your application responsiveness and cloud costs, and what are the options to optimize both. We’ll explore and compare Quarkus and Piranha Cloud, the most modern and fastest Jakarta EE frameworks. We’ll test the limits of what they are capable of, how fast they start and whether we even need to think about any optimizations. Then I’ll explain what optimizations may help if you need to go further, like tuning the JVM, using a custom JVM runtime or building a OS-native binary with GraalVM. However, there are also a few limitations and cost implications of these optimizations, which we'll also explain.

I’ll show and tell, with very few slides. You’ll see live for yourselves how Java AWS Lambda functions built with Jakarta EE can start fast and decrease the cold starts to the absolute minimum which you can barely notice.

 

Objective of the presentation: 
Demystify the claims about slow Java cold starts, show how fast is Java to start and how it behaves in Serverless scenarios, showcase some Jakarta EE frameworks that support serverless deployments natively and how fast they are.
Attendee pre-requisites - If none, enter "N/A": 
N/A
Schedule info
Time: 
26 Oct 2022 - 16:15 to 26 Oct 2022 - 16:50
Room: 
Wilhelm-Krämer-Zimmer
  • Sign in to post comments.

Elite

  • Huawei
  • IBM

Premium

  • Yatta Solutions GmbH
  • Eurotech
  • Red Hat

Basic

  • Mercedes-Benz Tech Innovation
  • TypeFox GmbH
  • SCANOSS
  • SSI Schaefer IT Solutions GmbH
  • Bosch IO GmbH
  • ARCAD Software
  • Obeo
  • EclipseSource

Media

  • GermanTechJobs

Become a Sponsor

Eclipse Foundation

  • About Us
  • Contact Us
  • Sponsor
  • Members
  • Governance
  • Code of Conduct
  • Logo and Artwork
  • Board of Directors
  • Careers

Legal

  • Privacy Policy
  • Terms of Use
  • Copyright Agent
  • Eclipse Public License
  • Legal Resources

Useful Links

  • Report a Bug
  • Documentation
  • How to Contribute
  • Mailing Lists
  • Forums
  • Marketplace
EclipseCon is brought to you by The Eclipse Foundation with the support of our sponsors.
Powered by Drupal and built on COD.

Copyright © Eclipse Foundation. All Rights Reserved.

Back to the top