3 ms·
Does someone know how it handles (if any) zero downtime deployments? Like, if your Python service is running in one machine on port 8080 behind nginx, how does
by dakiol 2y ago
Does someone know how it handles (if any) zero downtime deployments? Like, if your Python service is running in one machine on port 8080 behind nginx, how does piku switch to a fresh instance running in the same port?
- rcarmo 2y agoCurrently it will only kill running processes after it finishes deploying the new git push. Socket and session handling will vary depending on your code and whether you use uwsgi or run your own HTTP daemon. One thing it already does (optionally) is to kill off unused instances and idle, lazily starting them when a new connection comes in.
- mrweasel 2y agoSlightly off-topic, but you can do zero downtime deployments using systemd and socket activation.
- deleted 2y ago[deleted]
- rcarmo 2y agoThat gives me a couple of ideas...But picking a shorter name than "piku" is going to be hard... Maybe I can whip up a proof of concept and call it "syd".