Poor pubsub performance

Hi All,

I've been using openfire for a few years, but thought I'd try ejabber and see how it compares. I got everything working last night, apart from I seem to have very slow pubsub performance..

So far I haven't tweaked any performance variable (mainly as I don't know what would help), but the problem seems to do with the ejabber config - if I shut it down and start back openfire everything is fine.

I'm only publishing maybe 50 messages a second to a couple of subscribers, but I dont seem to every get 1 a second received back. And I don't think they're buffered - if the publisher disconnects I don't receive a backlog slowly coming through on the subscriber.

Compared to openfire I could publish maybe a few thousand a second.

Any thoughts/suggestions?

Thanks!

Ah solved it. In case anyone

Ah solved it. In case anyone hits the same problem, I think it was the shaper values default to a really tight limit. in the cfg file:

%% The "normal" shaper limits traffic speed to 1.000 B/s
%%
{shaper, normal, {maxrate, 10000000}}.

here i've upped the value much larger.

But, I also upgraded from the default ubuntu package (still 2.1.10) to 13.10.

Everything is looking great now!

Syndicate content