gatewayd icon indicating copy to clipboard operation
gatewayd copied to clipboard

Hotswap updates

Open mostafa opened this issue 11 months ago • 0 comments

The idea is to update a running gatewayd instance without interruptions, restart or disconnection of connected clients, much like how code hotswapping works in Erlang.

Resources

  • https://itnext.io/clean-and-simple-hot-reloading-on-uninterrupted-go-applications-5974230ab4c5 ⭐
    • https://github.com/slok/reload (this seems to be a viable option, yet the last update is from two years ago)
    • https://github.com/oklog/run
  • https://oozou.com/blog/understanding-elixir-otp-applications-part-4-hot-swapping-modules-151
  • https://github.com/hoterran/erlang-hotswap-example
  • https://github.com/sanbornm/go-selfupdate
  • https://0pointer.de/blog/projects/socket-activated-containers.html
  • https://www.freedesktop.org/software/systemd/man/systemd.socket.html

mostafa avatar Jul 30 '23 23:07 mostafa