~/talk

Scale your @Controller to zero with AWS Lambda or Azure Function

Talkat Spring I/O 2023 · 2023-05-18..05-19· [serverless, java]
links:none on file
slides:none on file

Shows that an existing Spring Web @Controller app runs on AWS Lambda or Azure Functions using Spring Boot and Spring Cloud Function with an adapter, requiring no code changes to controllers; demo deploys a sample petstore and an uppercase function via Spring Cloud Function + AWS adapter and API Gateway. Cold starts without optimizations are about ~3.5s, enabling AWS SnapStart cuts that to roughly ~300–350ms for first restore and subsequent requests drop to ~2–3ms, and the deployed endpoints work as expected.

AI-written summary · about

  1. 0:00Introduction
  2. 1:49What is serverless
  3. 6:26Providers and event-driven functions
  4. 7:53Spring Cloud Function model
  5. 10:41Demo: REST and message handler
  6. 16:25Challenges of Spring Cloud Function
  7. 19:40Merging Spring Web with serverless
  8. 24:24Demo: Deploy to AWS Lambda
  9. 32:01How Lambda deployment works
  10. 35:29Scaling with Lambda SnapStart
  11. 44:52Supported platforms and future
  12. 46:18Summary
~/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.