121 points · by maingi4 · 9y ago · 20 comments
Also, a simple Google search would have shown the author that first 1 million requests are free in AWS Lambda, contrary to what he says.
While I love the service, you do end up paying pretty quick to scale up. https://loadimpact.com/pricing
As a note, we started using GOAD https://goad.io and Dino http://veldstra.org/2016/02/18/project-dino-load-testing-on-... - for running tests and has been great.
> AWS Lambda is now generally available. The AWS Free Tier includes 1 million free requests and up to 3.2 million seconds of compute time per month with AWS Lambda [0]
Would be great if you could post some total latency numbers from client to server and back, as in my experience API Gateway is extremely slow (AWS employees admit as much in their forums). Another problem is that once the Lambda is 'warmed up', if you have scaling needs beyond the 1 container it's allocated then you again have a 'cold start latency' problem. Interested to see whether this had an effect on your setup also (and as a side note, I'm extremely impressed with the potential for Lambda and serverless, but it still doesn't seem ready for prime time IMO).
Hitting Gateway -> Cloudfront -> S3 (for gzip / caching) it's ~100-200ms.
Hitting Gateway -> ELB -> EC2 -> IIS (.NET Web API) it's ~400-500ms.
Hitting Gateway -> Lambda -> NodeJS it's ~700-800ms.
Still need more time to in production to get more statistics.
(I haven't tested this myself, just what I've gleaned from the forums.)
Lambda also prevents any long running optimization such as output cacheing.