by chrismccord · 10y ago · 0 comments
- Phoenix Channels is a higher-level abstraction over raw WS. We spawn isolated, concurrent "channels" on the underlying WebSocket connection. We monitor these channels so that clients can detect errors and recover automatically without dropping the entire connection. This contributes to overhead in both memory and throughput, which should be highlighted with how Phoenix faired in the runs.
- Phoenix channels runs on a distributed pubsub system. None of the other contestants had a distribution story, so their broadcasts are only node-local implementations, where ours is distributed out of the box
Phoenix faired quite well in these runs, considering we are comparing a robust feature set vs raw ws/pubsub implementations.
My takeaways from this article were:
1) Phoenix and Rails are clear winners on API.
2) Rails performance is unacceptable, which makes its nice API irrelevant.
3) All others are good enough that if I wanted to choose them for other reasons, this article wouldn't stop me.