4 ms·
Thank you Jeff and the API Gateway team for the communication and prompt fixes. I’ll update my original posts so that they do not misinform others and I look f
by ac360 11y ago
Thank you Jeff and the API Gateway team for the communication and prompt fixes.
I’ll update my original posts so that they do not misinform others and I look forward to future improvements.
One additional thing that would be incredibly useful is a simple blog post that describes steps/options one could take to increase API Gateway + Lambda response times. I'm fiddling with this now, but I wish I had some guidance as to where to focus my optimizations and how to make them, all in one place and straight from the source (AWS). For example, I'd love some examples on API Gateway caching, making my API accessible in multiple regions, how to make my Lambda functions faster, and why my first requests to my API Gateway + Lambda routes are so slow even after only a few minutes of inactivity. On a first request, my Lambda function will run for 1.2 seconds but the network request as a whole takes 2.8-3.2 seconds, yet every immediate subsequent request comes in much faster (~1.4 seconds)(Everything is in the same us-east region). If there is nothing I can do about this because the server my lambda function is on has been de-prioritized due to minutes of inactivity and is in an idle state, then the guide on optimizing elsewhere is even more necessary. This is the last piece of the story that is missing for me personally, and it causes me to hesitate before deploying more code. Also, if you have this written already and I've missed it, please let me know!
Overall, you've lowered the barriers to entry and increased efficiency so much I plan on deploying much more server side code than ever before.
Thank you,
Austen