[JDEV] The information of users in "jserver"

mark at mjwilcox.com mark at mjwilcox.com
Thu Aug 31 20:30:40 CDT 2000


Hi,
 I don't think there is any doubt that the default "database" of 
xdb_file is not the most scalable of solution. But it was the easist 
to implement to prove that Jabber would work. 

If you want to test out alternative mechanisms you can (as others 
have pointed out) check out the xdbldap project which uses LDAP 
for authentication and user information. It still requires xdb_file 
because there is a bug that requires xdb_file for Jabber and that 
we're not going to support roster and filter in LDAP (at least not 
yet). I've toyed with replacing xdb_file with an xdb_dbm (using 
Sleepycat's Berkeley database), but I've put that on hold until 
jabberd.

Look for bigger and better things once jabberd comes out here 
soon. Jabberd should make it easier to add in different modules. 

Mark
On 31 Aug 00, at 16:00, Kang-pen Chen wrote:

> Hi:
>    I saw the source codes of the jabber-transport.
> I found the user data (password, roster) was stored
> in "xml" format.  And each user used 1 xml file.
> 
>    I think there will be a problem.  If the number of
> users increases to 100000, there will be 100000 files
> in the /usr/local/var/jspool directory.  The speed will thus 
> become slower.  And I think the number of files in a directory has
> a upper-limit.  If the number of users increases beyond the limit 
> , there will be some problems.
> 
>    I suggest that the user data can be stored in a 
> database system, such as MySQL.  On the other hand,we don't need to store it
> in XML format.  XML format is convenient for data exchange between
> 2 peers.  But in this case, the user data is stored in the local machine.  
> Therefore, we can simply use a database system and have some tables to store the password, roster, group, etc.  It will increase the speed and prevent
> the too-many-user problem. 
> 
> Sincerely,
> Kang-pen Chen
> National Taiwan Univ.
> EE Dept. 
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
> 
> 


Mark Wilcox
mark at mjwilcox.com
Got LDAP?




More information about the JDev mailing list