Publish Continuous without interval

shir Hu
Added almost 4 years ago


I use jaxmpp3 to publish items continuous without interval, then found that the publish callback occurs timeout. may be the pubsub component can not handle items in this speed, So can you tell me how many items it can handle? thanks.

Replies (3)


Added by Wojciech Kapcia TigaseTeam almost 4 years ago

There is no simple answer to this question - it highly depends on the hardware that you use on the server side. What you are publishing (payload) and how many subscribers there are to the nodes should also be considered.


Added by Artur Hefczyc TigaseTeam almost 4 years ago

Also, what do you mean by "continuous without interval"? How many requests per second do you send?

Added by shir Hu almost 4 years ago

Do as follow:

for(int i=0;i<10000;i++){publish....}

So you mean that the interval of publish does not have an exact number, ok, I see. Thank you.