In this live-coding session I work on an Elixir server built to support huge numbers of users chatting in 3d.
In these sessions we build a supervision tree based on the following architecture:
(U’s represent users, and the numbered cells represents discrete sections of space in the 3d environment).
We then channel audio streams between the channels and the users based on their positions in the 3d environment.
Part I
Part II
RoomServer.exs
(full source code coming soon)