The what, the why, the how, the challenges, and the learnings of AWS Lambda. A real world example of how it has gone from a 10% time project to production at Hooroo.
about the servers. - You do not interact with the OS. - You do not think about capacity. - You do not think about scale. - There are very few dials to tweak. - Pay for fulfillment, not provisioning. - It is composable.
Java, or Python code - Configure: - Event sources (what triggered me?) - Permissions (what things can I access?) - Handler function (what should I invoke when it happens?) - Memory (how much gusto should it have?)
real time - Complicated and resource consuming query - Dynamic data in the email content - Event logs are truncated - Splunk is difficult to test - Conditional complexity
keep lambda at the boundary of your core code - Function code should do only one thing (be simple) - Execution time is limited to 5 mins - Cold starts (sometimes seconds)
Async - 100’s of milliseconds (i.e not High Frequency Trading - Max 5 minutes (i.e no Video Encoding) - Connecting things together (AWS Step functions, IFTTT) - Scale quickly (1000’s of headless tests - Chromeless) Niche