~/talk

Running Spring in a Serverless Environment

Talkat Devnexus 2021 · 2021-02-17..02-18· [serverless, spring]
slides:none on file

Shows how to run Spring Cloud Function on Azure Functions using the Maven plugin that auto-creates storage, service plan and function and notes Java cold starts of about 6–7 seconds (sometimes 20+s). Demonstrates building a GraalVM native image in GitHub Actions (build ~6–7 minutes), compressing with UPX to a 16 MB binary, and deploying that to get ~100 ms startup in tests. Warns that native images limit Spring features, add build complexity and occasional CI flakiness.

AI-written summary · about

  1. 0:00Introduction
  2. 1:23Agenda
  3. 1:44Why Serverless
  4. 2:13Why Spring
  5. 7:04Java
  6. 8:53Sample Application
  7. 9:25Hello Function
  8. 10:22Azure API
  9. 11:50Azure Functions
  10. 12:33Maven Plugin
  11. 13:55Deployment
  12. 17:52Google VM
  13. 18:30Spring Boot App
  14. 19:17Inorganic Function
  15. 20:32Configuration
  16. 21:11Compile
  17. 21:30Compress
  18. 23:27GitHub Actions
  19. 25:09Build Time
  20. 27:26Native Image
  21. 30:42Conclusion
~/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.