Serverless Java: Challenges and Triumphs
summary
Examines using Java on the Fn Project: a container-native Java FDK that builds with Maven, runs local unit tests, packages functions as Docker images and keeps idle containers paused for quick reuse. Demonstrates FN Flow with CompletionStage for composing functions, and shows concrete tooling for smaller, faster images via jlink and Graal/SubstrateVM native images — example images shrink from ~266MB to ~20MB and cold-start drops from ~1.15s to ~0.61s. Also explores isolates for per-invocation isolation.
AI-written summary · about
chapters (10)
- 0:00Start
- 5:00The Story about Java and Serverless
- 12:04Portability
- 21:55Building Complex Applications
- 22:16Fn Flow
- 26:14Weather Forecast Function
- 31:42Fast Startup
- 32:03Class Data Sharing
- 33:02Ahead of Time Compilation
- 33:24Smaller Docker Images
related talks
46mServerless Java: Challenges and Triumph
56mServerless Java in Action with Fn!
44mServerless Java in Action
48mJava in the Serverless Space
49mFn Project – an open source container native serverless platform
36mServerless Java
36mDemocratizing Serverless
39mDemocratizing Serverless: The New Open Source Fn Platform
