~/talk

Serverless in Java Lessons learnt

Talkat Confitura 2019 · on Saturday, 2019-06-29· [serverless]
links:none on file
slides:none on file

Built a serverless migration service that moves millions of users using AWS Step Functions to orchestrate workflows, AWS Lambda for steps, API Gateway, DynamoDB and Elasticsearch/Kibana, deployed with CloudFormation; it works for unpredictable peaks but one Java Lambda shows cold start spikes up to ~8 seconds so that function is rewritten in Python. Using the open source lambda power tuning tool finds 256 MB as a cost/performance sweet spot versus 128 MB. Notes: concurrent execution limit 1000, max timeout 15 minutes, /tmp 512 MB.

AI-written summary · about

  1. 0:00Intro
  2. 0:25About me
  3. 1:55How does serverless work?
  4. 4:02Our use-case: migration project
  5. 6:40Why serverless?
  6. 8:39Why Java?
  7. 10:26Project structure
  8. 12:09Endpoint definition in Spring Boot
  9. 12:52Endpoint definition in AWS
  10. 15:58Debugging
  11. 16:20Running your code locally
  12. 17:17IntelliJ AWS toolkit
  13. 18:20Metrics and logs
  14. 20:56Java performance in AWS
  15. 23:50Performance tuning
  16. 30:37Decreasing cold start time
  17. 31:18Eliminating cold start time
  18. 32:43Reducing cold start time using AWS Lambda Layers
  19. 35:56Reusing execution context
  20. 37:46AWS Lambda Environment Variables
  21. 38:56AWS Lambda limits
  22. 40:28Conclusion
~/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.