How do Phoenix channels work?


By default it uses pg2, but You can switch to another PubSub if You wish… like Redis for example.

I usually set a user channel, something like “user:#{}”, this way it’s possible to reach anybody by it’s id.

I would recommend this book, because it’s about the subject You are interested in…

1 Like