Overview
Discover how to optimize Java applications on AWS Lambda in this GeeCON 2022 conference talk. Explore common pitfalls and misconceptions when working with serverless architecture, focusing on reducing cold starts, managing costs, and improving latency. Learn about provisioned concurrency, best practices for JVM-based applications, and effective caching strategies. Gain insights into AWS Lambda pricing models, cost comparisons with other platforms, and practical scenarios to help you make informed decisions. Delve into advanced topics such as in-memory caches, L2 caches, and Lambda extensions to enhance your serverless Java applications' performance and efficiency.
Syllabus
Intro
Agenda
Technicality
About me
Agenda for today
What are called starts
Example lambda function
Example timings
Example branching code paths
Reducing cold starts
Provision concurrency
Best practices
Recap
AWS Lambda cost
AWS Lambda pricing
AWS Pricing Calculator
Assumptions
Scenarios
Scenario No 1
Scenario No 2
Stack Overflow
Requests per second
Pricing
Summary
Twitter
Abstract Service
In Memory Cache
L2 Cache
Why is it problematic
What can we do
Extensions
Life cycle
Advantages and disadvantages
Questions
Taught by
GeeCON Conference