0

最も信頼性が高く、最もスケーラブルなのはどれですか? ActionCable または Socket.io?

意見に基づく回答を避けるために、仮説を証明する実際の測定データを提供してください。

ActionCable は 1 年間リリースされていますが、ActionCable を使用して実装された実稼働中のアプリはありますか?

どうも

4

1 に答える 1

7

If you are using Rails, ActionCable will be fine. It is currently used on Basecamp and powers their chat and notification features.

This is a large scale application with heaps of daily active users so really you shouldn't be worried about scale. However, if you are talking about millions and millions of active connections, then probably neither is your best option - with the better alternative being Elixir/Erlang (2Million Websocket connections in Phoenix) or even NodeJS.

However in your case if you are using a Rails application, then Actioncable is going to be much easier to implement as it is a feature of Rails and not an external party.

于 2016-06-22T22:53:26.360 に答える