[jdev] how to program a jabber game server

Richard Dobson richard at dobson-i.net
Wed Feb 7 08:19:41 CST 2007


> Richard, I want to dynamically create game hosts to adapt to the number
> of online players. If all game hosts are full, I want the clients to 
> be able
> to request the creation of new hosts.
Ahh ok, that sounds fair enough, but the way I would implement that 
would be that the game hosts themselves would start up additional ones 
when they are full (otherwise the game matching service will need to be 
constantly monitoring the game hosts to know if they are full or not), 
as well as removing themselves from the list of available hosts the game 
matching component has, either preferably by having a protocol that the 
game hosts use to register/de-register with the game matching component 
over XMPP on start-up or when full etc, or use something like a shared 
database.

Richard





More information about the JDev mailing list