|
|
|
|
|
by wahnfrieden
2875 days ago
|
|
Lambda + API Gateway excel at spiky, unpredictable workloads. We have APIs that are spiky enough that EC2 autoscaling cannot spin up instances as quickly as the traffic spike comes in, which means with EC2 services we need to run with a lot of headroom to absorb these spikes. This includes running at night where usage is minimal, but still under threat of sudden spikes. That gets expensive. Our Lambda costs are a fraction for us because of this. BTW, you can use other self-hosted API gateways like Kong with Lambda if you want to cost optimize. |
|