3 ms·
> api gateway typically does not introduce latencies I haven't checked my function thoroughly yet, but I think API gateway introduce quite a bit of latency (at
by kagx 9y ago
> api gateway typically does not introduce latencies
I haven't checked my function thoroughly yet, but I think API gateway introduce quite a bit of latency (at least in my case). My maximum invocation time is 600ms, according to AWS Lambda monitoring tool, but network request takes around 1s (checked in chrome dev tools).
Also, worht noting is that my code is hosted in the us-east region and I'm based in Europe. I'm not sure how much latency this introduce.
- sriram_iyengar 9y ago>> Also, worht noting is that my code is hosted in the us-east region and I'm based in Europe. I'm not sure how much latency this introduce. Very much possible, if your regions are different.
- watter 9y agoProbably about 100ms or more on each request (to and from). Slower depending on location and network conditions.
- sriram_iyengar 9y agoYes very much possible if you are requesting across zones. I did extensive testing within zone and couldn't notice anything more than 2-3ms.