No, `max_conns` is the maximum number of file descriptors that can be open where as `max-persistent-conns` is the maximum number of persistent connections you're referring to. Depending on your configuration, you could have a dedicated web socket server balanced by an HAPROXY server. This would allow for much greater number of connections while all serving at the same endpoint.
This was really cool. I may have to start playing with actioncable with some toy apps to get more familiar with it before trying to figure my way around it in production at work. Thanks for the screencast.
No, `max_conns` is the maximum number of file descriptors that can be open where as `max-persistent-conns` is the maximum number of persistent connections you're referring to. Depending on your configuration, you could have a dedicated web socket server balanced by an HAPROXY server. This would allow for much greater number of connections while all serving at the same endpoint.
With concurrency in mind, `max_conn` could probably be left at the default of 1024. However, the default for `max_persistent_conns` is 100.
This was really cool. I may have to start playing with actioncable with some toy apps to get more familiar with it before trying to figure my way around it in production at work. Thanks for the screencast.