correct-opinion | 3 years ago | on: Show HN: Docker rollout – Zero Downtime Deployment for Docker-compose
correct-opinion's comments
correct-opinion | 3 years ago | on: Ask HN: YouTube Channels for the Intellectually Curious
I like "Kurzgesagt – In a Nutshell", its good information, easily understandable because its targeted to general population including kids. Perfect watch for tired brain after intense working session.
correct-opinion | 3 years ago | on: Ubuntu Unity desktop back from the dead after several years' hiatus
I have tried and still use different DEs, but for some time now Windows 10 DE is my favourite one. I think all others should just copy it, no need to reinvent the wheel.
page 1
Example.
Deployment goes like this:
1) 2 app versions are deployed - blue (vCurrent) and green (vNext); both are up and ready to handle connections
2) We are about to shut down blue and replace it with green
3) Blue is handling long-running http request; receives shutdown signal; keeps handling long-running request, but does not accept new connections from now on
4) because it is still active (nginx-proxy wont remove it), blue will still receive connections from nginx-proxy, and all of them will fail because of reasons stated in (3) Connections routed to green will succeed; This is where zero-downtime fails.
5) Once long running request is handled, and blue removed from docker, only then nginx-proxy refreshes its configuration and routes all traffic to green.
If i am correct, this tool solves issue where non-working container are configured to receive traffic by nginx-proxy, but does not solve issue where partially shutdown old container still receices traffic and drops it.
I dont know about caddy-docker-proxy.