Java in the Serverless Space
summary
Java runs on open-source FN and on Oracle Functions using containers; demo shows a Maven-based Java FaaS deployed as a Docker image and invoked locally. Using FN with its Java FDK provides automatic JSON coercion and standard tooling. jlink custom runtimes shrink a JDK from ~316MB to ~34MB and produce ~100MB Alpine images; CDS lowers cold-starts from ~238ms to ~138ms; Graal native-image yields ~12ms startup vs HotSpot ~224ms but trades portability and features. Tips: use recent JDKs, jlink, CDS or native image depending on latency vs compatibility needs.
AI-written summary · about
chapters (22)
- 0:00Introduction
- 0:15David Delabassée
- 0:38Set the context
- 1:07Evolution of abstraction
- 2:38Functions
- 3:54Java
- 4:24Microsoft
- 4:37Apple
- 5:22Service Frameworks
- 6:44Java in the Serverless Space
- 9:21Plain Old Java
- 10:41Fast Platform
- 12:18Fn
- 18:20Service Function
- 22:38Java SDK
- 26:43Latency
- 31:26Demo
- 33:07Docker Image
- 37:18Startup Time
- 39:20CVS
- 45:20GVM Limitations
- 47:01Conclusion








