“Just the code” without needing to define the underlying compute resources or OS • Asynchronous functions • Event driven from other services • …Or triggered externally and even chained
finite # of resouces: RAM + Time. • Workers pick up and complete tasks. • First 1 million requests are free • $0.20 per 1 million requests thereafter • 400,000 GB-Seconds of free compute time per month • $0.00001667 per GB-second after
background/ image changed to the astronomy picture of the day. • We gather their OAuth token and store in a database • We loop through the tokens with workers and post the updates
a library like async or nesting to make sure your context.done() calls don't cause things to finish too early. • External modules need to be compiled with the same version of libc that's on the Lambda boxes (use Amazon Linux AMI and you should be fine) • console.log() is great for debugging but finding CloudWatch logs is a pain