[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [paho-dev] Welcome to the "paho-dev" mailing list
|
Hi,
The Paho clients should be capable of making 100s of subscriptions without a problem, though the more subscriptions you make, the more memory you will use.
I'd say the first method is the best as it will result in cleaner application and server logic. It will also be more efficient / faster.
- James
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:
- every time a user post a comment subscribe to that post topic
- 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 ?
_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/paho-dev