How can i let the nginx push stream module push more message per seconds

197 views
Skip to first unread message

dongf...@gmail.com

unread,
Sep 10, 2015, 6:30:13 AM9/10/15
to nginxpushstream
hello!

   the nginx push stream module has 1000 channels keep long polling status. then i use php send one message to all the long polling channels in one second, the push stream server work ok.

  if i send three messages to all the long polling channels in one second, the system loss package rate is  30%. 

 so i want to know how to upgrate the TPS for the nginx push stream module? let it can success push more message in one second!

best wishes!

Wandenberg Peixoto

unread,
Sep 10, 2015, 9:03:42 AM9/10/15
to nginxpu...@googlegroups.com
Hi.

To long polling requests work properly two things are very important
- store the messages at the server (also adjust the period or the amount they will be saved)
- send the time and tag of the last received message on subsequent requests

Are you doing both?
Take a look on the examples on project doc.

regards 

--
You received this message because you are subscribed to the Google Groups "nginxpushstream" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nginxpushstre...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

dongf...@gmail.com

unread,
Sep 10, 2015, 11:01:53 PM9/10/15
to nginxpushstream
i have not open the store messages , i will try this. thanks very much!


 best regards 
Reply all
Reply to author
Forward
0 new messages