3 ms·
Once you separate the Guild process from all the user Session processes, by introducing Relays in the middle, a new problem seems to appear, and it's that now t
by j1elo 3y ago
Once you separate the Guild process from all the user Session processes, by introducing Relays in the middle, a new problem seems to appear, and it's that now the routing between users needs to be handled differently.
Before, any Session could send a message to any other Session, and the Guild would work as the router.
Now, a Relay needs to discover which other Relay needs to receive a message. Or maybe all Relays do is to send the messages back to the Guild for routing?
Could you expand a bit more on that topic, please :)
- yuliyp 3y agoRelays can forward things like "the user wants to join voice channel X" to the guild process and it'll process it (and fan out notifications to all the relays). This does place a scaling limit so we have to be careful about what things we forward to the guild to process.