[jdev] Empty persistent MUC rooms and server resources

Norman Rasmussen norman at rasmussen.co.za
Tue Nov 21 02:31:58 CST 2006


On 11/21/06, Tommy Li <tommycli at ucla.edu> wrote:
> I'm using the Jabberd2 server. I understand that it's possible to have
> persistent MUC rooms with message archiving. Does anyone know if empty
> persistent rooms take up server resources (other than hard drive space)?
>
> It's quite probable that I'll want to maintain upwards of tens of
> thousands or more persistent rooms, most of which will be empty 99.99%
> of the time and was wondering if that would be possible or practical -
> depending on what kind of server resources are required for each room -
> especially the rarely occupied ones.

I'd guess that this should be fine (not having looked at any of the
jabberd2 code, or tested it myself).  Why not create a bot that'll go
and create a thousand rooms, and monitor server load.  Then restart
the muc component and see if it drops again.

My guess would be that once a room is created it sort of sticks around
in memory until the component is restarted, but that's a guess.

-- 
- Norman Rasmussen
 - Email: norman at rasmussen.co.za
 - Home page: http://norman.rasmussen.co.za/



More information about the JDev mailing list