Dan Le | 2 Jun 2009 17:58
Picon

Re: ejabberd vs. Tigase

Thank you both for your responses.


I managed to run a few test myself using Tsung, simply looking at how well each handled rapid connections to the XMPP server (20K connections). Unfortunately, I couldn't get Tsung clients to receive messages from a specific client (seems Tsung only supports bidirectional messages for subscription requests only at the moment). From just managing connections, it seems Tigase has a much higher CPU usage, ~30% CPU for an inter-arrival time of 0.005s up to 20K connections, compared to ejabberd's ~3% CPU usage for the same test. Memory usage was not nearly as different, but ejabberd (500 Mb) still used less than Tigase (750 Mb). Comparing against Artur's 500K test, my numbers seem reasonable (he was getting ~11% CPU, but with a much beefier server). Do any of these number seem inaccurate to anyone? (Hardware is a two quad-core sun fire x4150, I don't have the more detailed specs off-hand)

We likely won't be using PubSub, since at broadcast time, the recipient list will be dynamic. Is PubSub much more efficient than sending a message one by one to each client? I heard both ejabberd and Tigase supporting millions in pubsub projects, but often over a number of nodes. We will only have a single node, potentially a second node at max. Anyone have deployment numbers/limits on only one or two nodes?

Thanks,

Dan

On Mon, May 25, 2009 at 3:33 AM, Mickael Remond <mickael.remond <at> process-one.net> wrote:
Hello,

Tomasz Sterna wrote:

> Dnia 2009-05-06, śro o godzinie19:47 -0400, Dan Le pisze:
>> Has anyone worked with both ejabberd and Tigase and could offer
>> insights on how they compare in terms of performance, resources used
>> (CPU, RAM), community support, ease of use, and the like?

I can only speak for ejabberd, but there should be more than 10000
deployments around the world running ejabberd and ranging from very
small to very large deployments.

Regarding consumption, ejabberd is probably the one that can be tuned
to the smallest size. We have been running ejabberd with 500
simultaneous users on a Linux PDA.

Regarding the large size deployments, we have many very large
deployments (currently working on several one supporting more that a
million simultaneous online users). You can tune it and tweak it to fit
your need. You can do thing which are not possible with other server in
a very short amount of time.

Regarding pubsub as well, feedback from current deployment is very
good. Supporting millions of nodes with large number of items is
possible. It is also very flexible thanks to its plugin architecture.
We plan to give more details soon on the very large scale pubsub
projects we are working on.

You can contact me privately if you want to discuss your project in more
details.

--
Mickaël Rémond
 http://www.process-one.net/
_______________________________________________
JAdmin mailing list
FAQ: http://www.jabber.org/discussion-lists/jadmin-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=19
Info: http://mail.jabber.org/mailman/listinfo/jadmin
Unsubscribe: JAdmin-unsubscribe <at> jabber.org
_______________________________________________

_______________________________________________
JAdmin mailing list
FAQ: http://www.jabber.org/discussion-lists/jadmin-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=19
Info: http://mail.jabber.org/mailman/listinfo/jadmin
Unsubscribe: JAdmin-unsubscribe <at> jabber.org
_______________________________________________
Mickael Remond | 2 Jun 2009 18:46
Favicon
Gravatar

Re: ejabberd vs. Tigase

Hello,

The pubsub version in 2.1 will be even more efficient.
Regarding pubsub, at the current stage there can still be a few benefit
using it:
- Clients can be limited in term of bandwidth
- In the future, is you support s2s, delivery can be made in a single
packet with several recipients on the target s2s server. Addressing the
final messages will be made locally.

Dan Le wrote:

   > Thank you both for your responses.
>
> I managed to run a few test myself using Tsung, simply looking at how
> well each handled rapid connections to the XMPP server (20K
> connections). Unfortunately, I couldn't get Tsung clients to receive
> messages from a specific client (seems Tsung only supports
> bidirectional messages for subscription requests only at the moment).
> From just managing connections, it seems Tigase has a much higher CPU
> usage, ~30% CPU for an inter-arrival time of 0.005s up to 20K
> connections, compared to ejabberd's ~3% CPU usage for the same test.
> Memory usage was not nearly as different, but ejabberd (500 Mb) still
> used less than Tigase (750 Mb). Comparing against Artur's 500K test,
> my numbers seem reasonable (he was getting ~11% CPU, but with a much
> beefier server). Do any of these number seem inaccurate to anyone?
> (Hardware is a two quad-core sun fire x4150, I don't have the more
> detailed specs off-hand)
>
> We likely won't be using PubSub, since at broadcast time, the
> recipient list will be dynamic. Is PubSub much more efficient than
> sending a message one by one to each client? I heard both ejabberd and
> Tigase supporting millions in pubsub projects, but often over a number
> of nodes. We will only have a single node, potentially a second node
> at max. Anyone have deployment numbers/limits on only one or two
> nodes?
>
> Thanks,
>
> Dan
>
> On Mon, May 25, 2009 at 3:33 AM, Mickael Remond
> <mickael.remond <at> process-one.net> wrote:
>
> Hello,
> Tomasz Sterna wrote:
>> Dnia 2009-05-06, ¶ro o godzinie19:47 -0400, Dan Le pisze:
>
>>> Has anyone worked with both ejabberd and Tigase and could offer
>>> insights on how they compare in terms of performance, resources used
>>> (CPU, RAM), community support, ease of use, and the like?
>
> I can only speak for ejabberd, but there should be more than 10000
> deployments around the world running ejabberd and ranging from very
> small to very large deployments.
> Regarding consumption, ejabberd is probably the one that can be
> tuned
> to the smallest size. We have been running ejabberd with 500
> simultaneous users on a Linux PDA.
> Regarding the large size deployments, we have many very large
> deployments (currently working on several one supporting more that a
> million simultaneous online users). You can tune it and tweak it to
> fit
> your need. You can do thing which are not possible with other server
> in
> a very short amount of time.
> Regarding pubsub as well, feedback from current deployment is very
> good. Supporting millions of nodes with large number of items is
> possible. It is also very flexible thanks to its plugin
> architecture.
> We plan to give more details soon on the very large scale pubsub
> projects we are working on.
> You can contact me privately if you want to discuss your project in
> more
> details.
> --
> Mickaël Rémond
> http://www.process-one.net/
>
> _______________________________________________
> JAdmin mailing list
> FAQ: http://www.jabber.org/discussion-lists/jadmin-faq
> Forum: http://www.jabberforum.org/forumdisplay.php?f=19
> Info: http://mail.jabber.org/mailman/listinfo/jadmin
> Unsubscribe: JAdmin-unsubscribe <at> jabber.org
> _______________________________________________
> _______________________________________________
> JAdmin mailing list
> FAQ: http://www.jabber.org/discussion-lists/jadmin-faq
> Forum: http://www.jabberforum.org/forumdisplay.php?f=19
> Info: http://mail.jabber.org/mailman/listinfo/jadmin
> Unsubscribe: JAdmin-unsubscribe <at> jabber.org
> _______________________________________________

--

-- 
Mickaël Rémond
 http://www.process-one.net/
_______________________________________________
JAdmin mailing list
FAQ: http://www.jabber.org/discussion-lists/jadmin-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=19
Info: http://mail.jabber.org/mailman/listinfo/jadmin
Unsubscribe: JAdmin-unsubscribe <at> jabber.org
_______________________________________________
zhengwei yang | 5 Jun 2009 05:17
Picon

support for ldap

Hi all, i want to set up my own jabber server, and i want to use opeldap as authentication server,but i do not know which one of jabberd14 and jabberd2 is the better choice,anyone can help?

_______________________________________________
JAdmin mailing list
FAQ: http://www.jabber.org/discussion-lists/jadmin-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=19
Info: http://mail.jabber.org/mailman/listinfo/jadmin
Unsubscribe: JAdmin-unsubscribe <at> jabber.org
_______________________________________________
evanescent | 5 Jun 2009 08:52
Picon

How to verify jabberd2 is runing correctly?

Hi,
I recently install jabberd2 on ubuntu.
i install sever from source as root.

when i use "/usr/local/bin/jabberd -D" its does not seem any error.

so i think the server start fine. but how can i verify that.
how can i verify the server is runing with no problem ?

thanks
nuwn

_______________________________________________
JAdmin mailing list
FAQ: http://www.jabber.org/discussion-lists/jadmin-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=19
Info: http://mail.jabber.org/mailman/listinfo/jadmin
Unsubscribe: JAdmin-unsubscribe <at> jabber.org
_______________________________________________
Winfried Tilanus | 5 Jun 2009 14:13
Gravatar

Re: How to verify jabberd2 is runing correctly?

On 06/05/2009 evanescent wrote:
> how can i verify the server is runing with no problem ? 

Contact it with an xmpp-client?

best wishes,

Winfried
_______________________________________________
JAdmin mailing list
FAQ: http://www.jabber.org/discussion-lists/jadmin-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=19
Info: http://mail.jabber.org/mailman/listinfo/jadmin
Unsubscribe: JAdmin-unsubscribe <at> jabber.org
_______________________________________________

evanescent | 8 Jun 2009 10:08
Picon

[0.0.0.0, port=5222] failed to listen

Hi,
When i start the jabberd-2.2.8 on ubuntu It log the following error in c2s.log.

Mon Jun  8 13:21:09 2009 [notice] starting up
Mon Jun  8 13:21:09 2009 [info] process id is 8734, written to /usr/local/var/jabberd/pid/c2s.pid
Mon Jun  8 13:21:09 2009 [notice] modules search path: /usr/local/lib/jabberd
Mon Jun  8 13:21:09 2009 [info] loading 'sqlite' authreg module
Mon Jun  8 13:21:09 2009 [notice] initialized auth module 'sqlite'
Mon Jun  8 13:21:09 2009 [notice] [192.168.0.108] configured; realm=192.168.0.108, registration enabled
Mon Jun  8 13:21:09 2009 [notice] attempting connection to router at 127.0.0.1, port=5347
Mon Jun  8 13:21:09 2009 [notice] connection to router established
Mon Jun  8 13:21:09 2009 [error] [0.0.0.0, port=5222] failed to listen
Mon Jun  8 13:21:09 2009 [error] both normal and SSL ports are disabled, nothing to do!


and s2s.log is as follows..

Mon Jun  8 13:21:09 2009 [notice] starting up (interval=60, queue=60, keepalive=0, idle=86400)
Mon Jun  8 13:21:09 2009 [info] process id is 8731, written to /usr/local/var/jabberd/pid/s2s.pid
Mon Jun  8 13:21:09 2009 [notice] attempting connection to router at 127.0.0.1, port=5347
Mon Jun  8 13:21:09 2009 [notice] connection to router established
Mon Jun  8 13:21:09 2009 [error] [0.0.0.0, port=5269] failed to listen

can anybody tell me what is the wrong with my configuration please?
im trying to configure server since 3 days.. :(

_______________________________________________
JAdmin mailing list
FAQ: http://www.jabber.org/discussion-lists/jadmin-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=19
Info: http://mail.jabber.org/mailman/listinfo/jadmin
Unsubscribe: JAdmin-unsubscribe <at> jabber.org
_______________________________________________
Norman Rasmussen | 8 Jun 2009 10:24
Picon
Favicon
Gravatar

Re: [0.0.0.0, port=5222] failed to listen

On Mon, Jun 8, 2009 at 10:08 AM, evanescent<coolnuwan <at> gmail.com> wrote:
> Mon Jun  8 13:21:09 2009 [error] [0.0.0.0, port=5222] failed to listen
> Mon Jun  8 13:21:09 2009 [error] [0.0.0.0, port=5269] failed to listen

You probably have another jabber server still running (maybe jabberd2
is already running, or you have jabberd1, ejabberd or openfire
running?)

You can check with 'netstat -anp | grep 5222'

--

-- 
- Norman Rasmussen
 - Email: norman <at> rasmussen.co.za
 - Home page: http://norman.rasmussen.co.za/
_______________________________________________
JAdmin mailing list
FAQ: http://www.jabber.org/discussion-lists/jadmin-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=19
Info: http://mail.jabber.org/mailman/listinfo/jadmin
Unsubscribe: JAdmin-unsubscribe <at> jabber.org
_______________________________________________

evanescent | 8 Jun 2009 11:16
Picon

Re: [0.0.0.0, port=5222] failed to listen


Hi, Thank you vegy much for the replly.
when i check what are the already opened ports when i try to run jabberd2 i found that the given port it listning with some other process.

Asuming that the process is ejabber i tried to stop ejabber server with the command of "$ejabberd stop". but that was nt success.

how can i identify the processes that uses port 5222?

 

On Mon, Jun 8, 2009 at 1:54 PM, Norman Rasmussen <norman <at> rasmussen.co.za> wrote:
On Mon, Jun 8, 2009 at 10:08 AM, evanescent<coolnuwan <at> gmail.com> wrote:
> Mon Jun  8 13:21:09 2009 [error] [0.0.0.0, port=5222] failed to listen
> Mon Jun  8 13:21:09 2009 [error] [0.0.0.0, port=5269] failed to listen

You probably have another jabber server still running (maybe jabberd2
is already running, or you have jabberd1, ejabberd or openfire
running?)

You can check with 'netstat -anp | grep 5222'

--
- Norman Rasmussen
 - Email: norman <at> rasmussen.co.za
 - Home page: http://norman.rasmussen.co.za/
_______________________________________________
JAdmin mailing list
FAQ: http://www.jabber.org/discussion-lists/jadmin-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=19
Info: http://mail.jabber.org/mailman/listinfo/jadmin
Unsubscribe: JAdmin-unsubscribe <at> jabber.org
_______________________________________________

_______________________________________________
JAdmin mailing list
FAQ: http://www.jabber.org/discussion-lists/jadmin-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=19
Info: http://mail.jabber.org/mailman/listinfo/jadmin
Unsubscribe: JAdmin-unsubscribe <at> jabber.org
_______________________________________________
Norman Rasmussen | 8 Jun 2009 11:18
Picon
Favicon
Gravatar

Re: [0.0.0.0, port=5222] failed to listen

On Mon, Jun 8, 2009 at 11:16 AM, evanescent<coolnuwan <at> gmail.com> wrote:
> how can i identify the processes that uses port 5222?

You can check with 'netstat -anp | grep 5222'

The right most column is the process number and name.

--

-- 
- Norman Rasmussen
 - Email: norman <at> rasmussen.co.za
 - Home page: http://norman.rasmussen.co.za/
_______________________________________________
JAdmin mailing list
FAQ: http://www.jabber.org/discussion-lists/jadmin-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=19
Info: http://mail.jabber.org/mailman/listinfo/jadmin
Unsubscribe: JAdmin-unsubscribe <at> jabber.org
_______________________________________________

evanescent | 8 Jun 2009 13:35
Picon

Authentication Failure to Jabberd2: unable to connect to jabberd2 from pidgin

Hi,
Finally i could able to configure and start jabber2 on ubuntu.
Now my problem is that i cant connect to server through pidgin.
when I try to connect by setting with required parameters using pidgin it says "authentication failure".
but everything seems ok with the parameter i hv set.

important point is i hv set my IP as the ID in c2s.xml and sm.xml.
And I have configure sqlite as the DB.
in the log file I saw this..
Mon Jun  8 16:43:22 2009 [notice] [8] [192.168.0.108, port=38863] connect
Mon Jun  8 16:43:39 2009 [error] sqlite (authreg): SQL logic error or missing database
Mon Jun  8 16:43:39 2009 [notice] [8] created user: user=jabberd; realm=192.168.0.108
Mon Jun  8 16:43:39 2009 [error] sqlite (authreg): SQL logic error or missing database
Mon Jun  8 16:43:39 2009 [notice] [8] [192.168.0.108, port=38863] disconnect jid=unbound, packets: 2

what goes wrong with my configuration?

thank you.


_______________________________________________
JAdmin mailing list
FAQ: http://www.jabber.org/discussion-lists/jadmin-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=19
Info: http://mail.jabber.org/mailman/listinfo/jadmin
Unsubscribe: JAdmin-unsubscribe <at> jabber.org
_______________________________________________

Gmane