Many rooms

Post here your questions about Actionscript and Java server side extensions development.

Moderators: Lapo, Bax

corwin
Posts: 77
Joined: 17 Jul 2009, 08:19

Many rooms

Postby corwin » 16 Jul 2010, 08:52

Currently I am developing chat extension for one of our games. We have tons of guilds (tens of thousands) and each guild should have separate chat room. Currently I create those rooms when the first guild member come online and on every new user I just join him in that room - I never destroy those rooms until restart. Will those empty rooms be a problem for the server? Should I set the param and destroy them when last user leaves and then recreate them?
User avatar
Lapo
Site Admin
Posts: 23025
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 16 Jul 2010, 20:44

They can be a problem for the client because they generate a pretty heavy room list. Rooms that are unused should be removed when possible.
Lapo
--
gotoAndPlay()
...addicted to flash games
corwin
Posts: 77
Joined: 17 Jul 2009, 08:19

Postby corwin » 19 Jul 2010, 08:24

Ok, thanks.

Return to “Server Side Extension Development”

Who is online

Users browsing this forum: No registered users and 21 guests