~/talk

Modernize APIs to run serverless using Apache CXF

Talkat Community Over Code EU 2024 · 2024-06-03..06-05· [serverless, api-design]
slides:none on file

Takes an existing WSDL, runs Apache CXF codegen to produce Java interfaces and DTOs, packages them with Quarkus, deploys via AWS SAM to Lambda + API Gateway, and demonstrates end-to-end requests working. Cold starts take ~3s on the JVM, enabling Lambda SnapStart drops that to about 1s by snapshotting the Firecracker micro-VM at deploy time; building a GraalVM native image raises build time (~90s) but yields ~0.5s init and reduces memory from ~1GB to ~28MB. Shows concrete configs and trade-offs for WSDL-first codegen.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:15What is Apache CXF
  3. 3:50Why use serverless
  4. 5:18Modernization scenario
  5. 6:43API first vs code first
  6. 9:16Demo setup with CXF
  7. 12:02Deploying to AWS Lambda
  8. 14:15Testing the API endpoint
  9. 17:04Understanding Lambda lifecycle
  10. 18:50Cold starts and warm starts
  11. 20:14Optimizing with Lambda SnapStart
  12. 23:15GraalVM native image benefits
  13. 25:07Performance comparison results
  14. 27:37Key takeaways and summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.