Add docker inspect cache to ComplexStatusCheck #7618
H01001000
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, in ComplexStatusCheck, it runs docker inspect for each application for each server, in high latency situation (cross region), it makes GetContainersStatus takes long time (180s) to run.
Instead we could run
docker inspect --format='json' $(docker ps -aq)on every server, and get the corrsponding container state from that single docker inspect, reduce round trip timesth like
Beta Was this translation helpful? Give feedback.
All reactions