Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Connecting thousands of clients to a Jabber server through a single connection

We are using Openfire (Jabber) to enable chat and presence capabilities to our MMORPG. In our server architecture clients only open a single connection with the game server, and upon login, the game server creates a new connection to Jabber for this new client.

The problem is, we don't want to open a new connection to Jabber for every client that logs in, we like it better if our game server acted as a connection manager and talked to the Jabber server through a single connection, yet being able to manage hundreds of thousands of 'logical' clients.

Is this possible?

Any links or info on this matter would be very much appreciated. Thanks.

like image 826
Trap Avatar asked Nov 21 '25 01:11

Trap


1 Answers

Why not have a local Jabber server separate from your game server, but on the same network and let it handle all the messy details?

If you have a massive game, you will most likely also need massive network.

like image 64
Thorbjørn Ravn Andersen Avatar answered Nov 23 '25 14:11

Thorbjørn Ravn Andersen



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!