11. Serverless Revolution
AWS Lambda - run code without thinking about underlying
infrastructure
1. Crazy cheap
2. Multiple programming languages support
3. Highly-Scalable
4. Reliable
5. Fast
12. Serverless Revolution
AWS Lambda - run code without thinking about underlying
infrastructure
1. Crazy cheap
Free Tier: 1M requests per month & 400,000/GB-sec
Above: $0.0000002/request + $0.00001667/GB-sec
13. Serverless Revolution
AWS Lambda - run code without thinking about underlying
infrastructure
2. Multiple programming languages support: Node.js
(JavaScript), Python, Java (Java 8), C# (.NET Core), Go
(from 15.01.2018)
$ npm install serverless -g
$ serverless create --template hello-world
$ serverless deploy
14. Serverless Revolution
AWS Lambda - run code without thinking about underlying
infrastructure
3. Highly-Scalable out of the box
Default limit: 1,000 concurrent executions
Our Benchmark: 800 req/s per Node.js function
15. Serverless Revolution
AWS Lambda - run code without thinking about underlying
infrastructure
4. Reliable
100% uptime
in our Pingdom from start (7 months)
16. Serverless Revolution
AWS Lambda - run code without thinking about underlying
infrastructure
5. Fast
<1 ms
for Node.js Express “Hello World”
18. Droplr Current Architecture
Droplr Serverless Architecture
1. AWS Lambda in VPC
2. CloudFront in front of API Gateway
3. Web Application Firewall
4. SNS (~RabbitMQ?)
5. CloudWatch Events (~CRON?)
28. Thanks
Time for discussion :-)
- Serverless as a game-changer?
- Your ideas of using Serverless?
- Btw. Senior JavaScript/React Developer wanted! ;-)
Ref.: https://serverless.com/blog/how-droplr-scales-to-millions-serverless-framework/