You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on a realtime multiplayer game which was built using Ratchet 0.3.3, Laravel 5 and PHP 5.5.9, The server OS is Ubuntu. The server sends approximately 500 bytes of data in each cycle to every user via WebSocket (hundreds of users).
It looks like WebSocket is buffering the requests and sends 5 to 6 requests at once (500 bytes each).
We have 30 millisecond cycles. Is there a way to manually set the WebSocket buffer settings so I can send each request in every cycle?
The text was updated successfully, but these errors were encountered:
dansari88
changed the title
Realtime WebSocket requests problem!
Realtime WebSocket Problem!
Nov 7, 2015
dansari88
changed the title
Realtime WebSocket Problem!
Set Realtime WebSocket Buffer
Nov 8, 2015
This buffering is happening at the TCP level, not the WebSocket level and is therefore outside the scope of Ratchet. @mbonneau is correct on the correct function use on the socket however. :) These kind of issues are more targeted towards React.
I am working on a realtime multiplayer game which was built using Ratchet 0.3.3, Laravel 5 and PHP 5.5.9, The server OS is Ubuntu. The server sends approximately 500 bytes of data in each cycle to every user via WebSocket (hundreds of users).
It looks like WebSocket is buffering the requests and sends 5 to 6 requests at once (500 bytes each).
We have 30 millisecond cycles. Is there a way to manually set the WebSocket buffer settings so I can send each request in every cycle?
The text was updated successfully, but these errors were encountered: