Project

General

Profile

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

Peter Rajcani
Added about 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)

(1)

Added by Wojciech Kapcia TigaseTeam about 4 years ago

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

Avatar?id=6023&size=32x32

Added by Artur Hefczyc TigaseTeam about 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.

    (1-2/2)