Is there a limit on number of subscriptions for a PubSub node?

Peter Rajcani
Added over 4 years ago

How many subscriptions can one node in PubSub support? Is there a limit? If so, is it configurable - what is the max value?

Replies (2)


Added by Wojciech Kapcia TigaseTeam over 4 years ago

There is no configuration option, the only limitation is resources.


Added by Artur Hefczyc TigaseTeam over 4 years ago

There is no hardcoded limitation on a number of subscribers, however you have to keep in mind that if you have 1 million subscbribers and you publish an item to a node, it will generate 1 million notifications to all subscribers. There are mechanisms in Tigase to prevent overload in such a cases but delivering 1 million notifications may take some time if you use only one machine. To improve delivery time for such large number of notifications you need to run PubSub in a cluster mode form multiple machines.