I need help to troubleshoot AWS API gateway latency issues. We have same configuration and even data everything same but facing high latency issues in Non Prod. Actually we are using Nlb and VPC link for API Gateway . Please find same values here below.

We have copied the data from dev mongo to test environment to make sure the same volume of data is present in both the places. We hit /test/16 from both the environment, but experiencing very high latency in dev as compared to sandbox.

Test: Request:/test/16

Status:200

Latency:213ms

Dev:

Request:/test/16

Status:200

Latency:4896ms

1 Answers

0
Community On

Have you checked your VPC logs to see the flow paths for the requests? If not, I suggest starting there.

As FYI, you can learn about VPC flow logs at https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html#working-with-flow-logs.