MQTT Subscribe block

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hello All,

We are working the MQTT and use the wiced SDK 3.5.2.

Use QOS 0;

In our scenario we Publish the packet from the android application. In this case when we publish the packet at fix interval (1 sec 2 packet) MQTT subscribe work fine and it subscribe all packet successfully.

While we publish packet fast (1sec 3 packet) so MQTT subscribe blocked. and not do further functionality.

So what an issue didn't find...so have you any idea so please help us.

I have another doubt:

1> how much packet publish and subscribe in 1 sec ? (use QOS 0)

2> If we send multiple packet at same time..is it possible ?

3> how we can increase speed of the subscribe and publish ?

Need help to solve an issue...

Thanks & regards

Chintan Patel

0 Likes
2 Replies
Anonymous
Not applicable
  1. 1>    how much packet publish and subscribe in 1 sec ? (use QOS 0)

You can run this experiment using another publisher or from AWS and see how many we can receive in 1 sec

  1. 2>    If we send multiple packet at same time..is it possible ?

You can send, it will be in queue and processed one after another

  1. 3>    how we can increase speed of the subscribe and publish ?

There is no such factor in MQTT protocol to increase the speed.

Also the latency depends on AWS broker, internet connection and couple of other factors.

Also we request you to use our latest SDK3.7.0-3 instead of 3.5.2.

Also the latency really depends on the AWS broker, internet connection and couple of other factors.

Anonymous
Not applicable

Hello,

Thanks for your valuable answer.

I have one query regarding Parse Database.

Can i Post directly to the Parse Database ?

If is it possible so please guide us..

Thanks

Chintan Patel

0 Likes