AWS ApiGateway Latency Issue

Viewed 3963

I am currently using AWS Lambda for my internal application to application calls using spring framework implemented with jrestless.

Application to application call is working perfect with decent latency(~10-15ms ideally)

But when I am trying to leverage same lambda function via API Gateway the latency shoots up to 700-800 ms. Even though my lambda function is taking same 10-15 ms.

Lambda Function Configurations:

VPC: open(no vpc)
Region: ap-south-1(Mumbai)
Memory: 1500 MB(Highest)
Timeout: 5 min(Highest)

API Gateway Configurations:

Region: ap-south-a(Mumbai)
Request Integration: proxy+
Request Method: ANY

No Authentication is being used and its an HTTPS call.

Has anyone faced a similar issue?

2 Answers
Related