We have API Gateway hosted in AWS EKS and upstream API aka backend hosted in AWS. Also same API Gateway hosted in Azure (AKS).
When we run a perf test on following scenarios
Scenario - 1
- apigateway-us-east-2.aws.com ---> foo-us-east-2.aws.com
Scenario - 2
- apigateway-centralus.azure.com ---> foo-us-east-2.aws.com
Scenario 2 is yielding us 20% drop in TPS compared to scenario 1 and around 1% traffic failed due to connection errors to aws upstream.
Can anyone help me understand what could be potential reason ?