The Beauty of Channels
Channels fundamentally change the nature of what we are able to do on the web.
Channels scale incredibly well. In one test on a powerful machine, the Phoenix team was able to establish two million simultaneous channel connections. These weren’t just static connections. The team was able to broadcast messages to all two million clients within a few seconds.
Let that sink in for a minute. Think about what your application would look like if every user of your system had her own persistent connection to the server.
Channels are soft-real-time communication conduits. Clients join a channel on a specific topic. That’s the same as saying that clients subscribe to a topic on a channel. Then they’re able to facilitate conversations ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access