1 Answer
- Newest
- Most votes
- Most comments
0
There are a number of possible factors so I won't try to guess on what the cause would be. I'd recommend utilizing X-Ray tracing on API Gateway and your lambdas. This will give you insight into where the time is being spent and some hints as to what might be going on.
Some resources to get started on getting AWS X-Ray integrated:
answered 4 years ago
Relevant content
- asked a year ago
- asked 6 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
I don't feel like this answers the question. The scenario is pretty simple, and I have yet to get a clear answer on this. I have an API Gateway and an AppSync API both in the same region, both with the same Lambda functions hooked to them, both with requests coming from the same place. API Gateway is always significantly faster. I really want to use AppSync, but the performance is unacceptably slow.