[ejabberd] connection limit in ejabberd

Jack Moffitt jack at chesspark.com
Tue Sep 9 19:39:44 MSD 2008


> i am currently doing the following things for one user with 100 buddies:
>
> login as user to check if user already exists
> login as "admin" to create user
> login as buddy to check if user already exists
> login as "admin" to create user
> login as user to add buddy (subscription "both")
> login as buddy to add user (subscription "both")

This would be far easier to just connect to the database and populate
the entries directly instead of doing all this protocol stuff.  Maybe
if you are using Mnesia as the data store this is too hard from PHP,
but certainly mysql and postgresql it would be quite easy from PHP.

jack.


More information about the ejabberd mailing list