Deploy AnyCable with Capistrano and systemd
First of all, if you still don’t know what is AnyCable than probably you never tried websockets in Rails. “WTF???” you probably will say, and you are right. Yes, we have ActionCable since Rails 5.x, but you really believe Ruby is suitable for real time web? I have bad news for you.
AnyCable brings performance, stability, and scalability to WebSockets in Ruby/Rails. For some reason, it lacks only one thing – deployment documentation. Based on my experience the best way to manage AnyCable (and other Ruby services) is to do it with systemd
. Follow the link below to see how this can be done.
https://jetrockets.pro/blog/deploy-anycable-with-capistrano-and-systemd
Post a comment