adobe / helix-dispatch

A Helix microservice that retrieves content from multiple sources and delivers the best match
Apache License 2.0
4 stars 2 forks source link

How to reduce 504s #424

Open trieloff opened 3 years ago

trieloff commented 3 years ago

Some ideas:

trieloff commented 3 years ago

Inner CDN response times (microseconds) for 504s for the default strain (Adobe I/O)

Screen Shot 2021-02-26 at 18 26 09

504s occur largely randomly and unpredictably. This indicates that the runtime is flaky.

Inner CDN response times (microseconds) for 504s for the universal strain (AWS)

Note the changed axis scales.

Screen Shot 2021-02-26 at 18 27 20

504s are clustered around the lambda integration deadline of 30 seconds. This indicates that the action is often just too slow (maybe due to cold starts)

trieloff commented 3 years ago

Link to viz: https://helix.coralogix.com/goto/83122cae55abec264f7344412a430d7f