22 ms·
I believe systemd can do something similar, essentially replacing the binary and queueing network calls while doing so.
by markusw 4y ago
I believe systemd can do something similar, essentially replacing the binary and queueing network calls while doing so.
- ngrilly 4y agoYes, systemd does that. But as you wrote, it will queue network calls. The nice thing with the method I suggest above is that both Go processes, the old one and the new one, can be both serving requests in parallel, as they can share the same SQLite file, which makes it really zero-downtime.