17. AWS Lambda - Details
• Object Serialization
• Plain Objects
• Lambda Proxy Integration is better!
• Api Gateway is hard: Returning HTML, Response Headers, Content-Type, …
• Lambda Proxy Integration is better!
• Local testing
• Unit tests only 😢
18. Lambda-Local
• https://github.com/tempofeng/lambda-local
• Runs AWS Lambda on your local machine
• Uses syntax like Spring MVC (or Retrofit) to
build Rest Services
• Using Jackson for JSON ⇆ Java
• Migrates AWS Lambda Functions back to
Beanstalk or other Application Servers
25. Thoughts on AWS Lambda
• Dagger vs Spring Framework (IoC Container)
• Start up time
• 5sec
• Using sentry.io to collect exceptions
• Cloudwatch
• Running new services without any cost
• Beanstalk → AWS Lambda