Is it better to have one topic and use properties to filter subscribers' interests or should you set up multiple topics? Is there a performance issue with having multiple topics versus multiple filters?

Robert Davies

The general answer is that it would be best to use a bit of both. There will always be an overhead on the broker for the creation of a Topic, but if variations are small, (for example, less than 200), throughput should be significantly better. This is because of the overhead incurred in applying the selector to each message, as opposed to routing a message to a particular client.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact