Skip to content

Latest commit

 

History

History
27 lines (14 loc) · 955 Bytes

integration-latency.md

File metadata and controls

27 lines (14 loc) · 955 Bytes

Serverless Performance Tests - INTEGRATION LATENCY

Sample size: ~330 requests

EC2 instance HTTP request time: 1ms average

(No HTTPS)

EC2 instance HTTP + CloudFront HTTPS: 7ms average (min: 64ms, max: 21ms, std dev: 1ms)

(Same results with HTTP or HTTPS)

Lambda+APIG HTTPS request time:

  • Total time: 23ms average (min: 14ms, max: 107ms, std dev: 11ms)
  • APIG Latency: 21ms average
  • APIG Integration Latency: 18ms average
  • Lambda execution time: 1ms average

Definitions:

Integration Latency: The time between when API Gateway relays a request to the back end and when it receives a > response from the back end.

Latency: The time between when API Gateway receives a request from a client and when it returns a response to the client. The latency includes the integration latency and other API Gateway overhead.