Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] Welcome to the "paho-dev" mailing list

Is there any limitation on how many topic can be subscribed by a client ? I am using Paho js & java client. My use case is i want to inform every user about a new comment posted for a post.

I have two solution:

  1. every time a user post a comment subscribe to that post topic
  2. every time a user post a comment, iterate through each user and send message to all user specific topic

which one is will be better for large scale realtime application? What is the general practice adopted in big scale application ?


Back to the top