Hero coauthor of “Serverless Applications with Node.js” book AWS SAM & Lambda Builders Contributor Co-organizer of JS Belgrade, Serverless Belgrade, Wardley Maps Belgrade meetups
well • Power from 128MB - 3GB • CPU and network allocated proportionately • Synchronous or async • Voice enabled devices • Securely grant access to resources and VPCs • Fine grained control Your own code Simplified resource model Flexible use Flexible authorization AWS Lambda
• Metrics for requests, errors, and throttles • Built-in logs • Use processing, threads, /tmp, sockets • AWS SDK built-in • Persist data using external storage • No affinity or access to underlying infrastructure Authoring functions Monitoring and logging Programming model Stateless AWS Lambda
No hourly, daily or monthly minimums • No per-device cost • Never pay for idle • 1 million requests FREE every month, every customer Pay-per-use pricing
• Ruby on Rails backend • Many preprocessors that needs full isolation • > 200k requests/hour in peak • Unexpected peaks (you never know when some pen will become popular)
5000 parallel requests) • Decreased infrastructure cost (250 million requests costs $1180/month) • More DevOps time for RoR part of the app • Frontend developers with superpowers?!
of events • Potential costs $50,000 / year • Necessary for finance, data science and analytics teams • Decided to build the project in-house (estimation 3 months) ScienceExchange