Going serverless with Azure
@thewindev
Bogdan Bujdea
.NET Developer @ ISSCO
https://github.com/thewindev
twitter.com/@thewindev
http://thewindev.net
Agenda
1. What is “serverless” computing
2. Azure FaaS
3. Demo – Automatic scaling
4. Demo – Crypto trading with
Azure Functions
5. What’s next?
What is serverless?
Pros
Focus on writing code
Automatic scaling
Great for prototyping
CHEAP
400.000 GB/s
1.000.000 invocations
Cons
Less control
Outage
Immature tooling
Cold starts
Conclusion
3. Serverless in Azure
Azure Function Apps
Demo
http://bit.ly/bogdan110
Azure Container Instances
TradingView – BTC-USD
ConvertAPI
~120 $/month
puppeteer
to the rescue
Functions run inside a sandbox
Azure Container Instances
How it works?
Azure Functions
+ = 2.16 $/month
Demo
Crypto trading with Azure
Functions
5. What’s next?
Cloudflare Workers
V8 Isolates
Lightweight contexts that group
variables with the code allowed
to mutate them
50ms of CPU time/1 million
requests
$0.5 on Cloudflare
~1$ on Azure
$1.84 on AWS
Pricing
Feedback/resources
http://bit.ly/codecamp-serverless
Going serverless with Azure
Going serverless with Azure

Going serverless with Azure

Editor's Notes

  • #34 - Cam asa arata setup-ul meu
  • #35 Gb or RAM per second 160mb pay for 256 mb, rounded at 128mb