|o||good performance for tons of connected users|
|o||ability to scale to multiple nodes|
|o||ability to hook into LiveJournal at all places, not just auth|
So we made DJabberd. Its a Jabber server where almost everything defers to hooks to be implemented by plugins. It does the core spec itself (including SSL, StartTLS, server-to-server, etc), but it doesnt come with any way to do authentication or storage or rosters, etc. Youll need to go pick up a plugin to do those.
You should be able to plop DJabberd into your existing systems / userbase with minimal pain. Just find a plugin thats close (if a perfect match doesnt already exist!) and tweak.
DJabberd is event-based so we can have really low per-connection memory requirements, smaller than is possible with a threaded jabber server. Because of this, all plugins can operate asynchronously, taking as long as they want to finish their work, or to decline to the next handler. (in the meantime, while plugins wait on a response from whatever theyre talking to, the DJabberd event loop continues at full speed) However, thats more work, so some plugins may choose to operate synchronously, but they do so with the understanding that those plugins will cause the whole server to get bogged down. If youre running a Jabber server for 5 users, you may not care that the SQLite authentication backend pauses your server for milliseconds at a time, but on a site with hundreds of thousands of connections, that wouldnt be acceptable. Watch out for those plugins.
Read HookDocs.pm, read the major base classes (Authen, RosterStorage, PresenceChecker), join the mailing list, ask questions ... were here to help. If you want more hooks, let us know! If we forgot one, it doesnt hurt us to add more.
This module is Copyright (c) 2006 Six Apart, Ltd. All rights reserved.
You may distribute under the terms of either the GNU General Public License or the Artistic License, as specified in the Perl README file.
This is free software. IT COMES WITHOUT WARRANTY OF ANY KIND.
Brad Fitzpatrick <firstname.lastname@example.org>
Artur Bergman <email@example.com>
Jonathan Steinert <firstname.lastname@example.org>
|perl v5.20.3||DJABBERD (3)||2011-06-13|