3 ms·
You should read Discord’s experience with Elixir if you haven’t already [1]. They didn’t use Phoenix channels though AFAIK. Also the Phoenix channel implementa
by elcritch 9y ago
You should read Discord’s experience with Elixir if you haven’t already [1]. They didn’t use Phoenix channels though AFAIK.
Also the Phoenix channel implementation uses CRDTs behind the scenes from what I gather. They make problems like user presence much more tractable [2].
1: https://blog.discordapp.com/scaling-elixir-f9b8e1e7c29b https://blog.discordapp.com/scaling-elixir-f9b8e1e7c29b
2: https://github.com/phoenixframework/phoenix/blob/master/guides/docs/presence.md https://github.com/phoenixframework/phoenix/blob/master/guid...