Awesome JavaScript microservices in the cloud for (almost free)
-
Upload
gojko-adzic -
Category
Internet
-
view
366 -
download
0
Transcript of Awesome JavaScript microservices in the cloud for (almost free)
Lambda is almost free● $0.0000002 per request● $0.000000834 for 100ms @ 512MB● First 1 million requests per month are free
execution on tap
● No need to keep spare capacity● No need to worry about failover● Pay per actual usage
code with batteries included● Provisioning + Control● Monitoring● Task dispatching● Balancing● Scaling
trigger with almost anything● File uploads (S3)● DB records added (Dynamo)● Events in stream (Kinesis, CloudWatch)● Workflows (CodeDeploy, SWF, CloudWatch Rules)● Scheduled tasks (CloudWatch Events)● Message queues (SNS)● Web requests (APIGateway)
twin business + tech impact● Ops by magic● Multi-versioning out of the box● Small, isolated modules● Remove a lot of infrastructure code● Testability becomes a challenge
functions, not services● Five minutes or bust● Share nothing● No sessions● No streams● Full utilization = 4-5x dedicated VM price