When One Docker Swarm Replica Became Unreachable Over an Overlay Network: A Production Case With Traefik

https://dz2cdn1.dzone.com/storage/article-thumb/19194667-thumb.jpg

Context

The incident occurred in the production backend infrastructure of a mobile application. External HTTP traffic was handled by Traefik, deployed on Docker Swarm manager nodes. Traefik ran in swarmMode, used providers.docker, was configured to use the mgp_default network, and had lbswarm disabled so that routing used the required overlay network rather than the Swarm VIP.

One of the critical services was mgp_router-app. It was an entry-point service with two replicas deployed to preserve availability if one of them failed.

Visit Advertiser websiteGO TO PAGE

The service used placement constraints, max replicas per node = 1, and a Traefik health check configured for /actuator/health on port 8080. This meant we relied on external health checking and strictly controlled replica placement across nodes.

Swarm-level load balancingwas intentionally disabled. We needed routing control at the Traefik layer, along with the ability to quickly remove unhealthy backends based on their health...

Copyright of this story solely belongs to dzone.com. To see the full text click HERE

Read more

https://cdn.mos.cms.futurecdn.net/U8FDQjAxYmygvFzXAoLXzK-1920-80.jpg

'The next generation won’t replace this one so much as sit on top of it' — Industry analysts say Sony, Microsoft, and Nintendo's 'relentless push for higher-end performance will need to be moderated' to avoid $1000 launch consoles

* Several industry analysts say Sony and Microsoft may need to scale back their "relentless push for higher-end performance" to avoid $1000 consoles * Piers Harding-Rolls at Ampere Analysis says ambitions will need to be "moderated" to avoid breaching the hefty price point * Rhys Elliott at Alinea Analytics