SuperSocket icon indicating copy to clipboard operation
SuperSocket copied to clipboard

Flow Control in Websocket and TCP Server

Open utkarshkap opened this issue 3 years ago • 2 comments

I am facing typical issue while sending real time data, almost 1000+ data packet per second, I have set SendingQueueSize = 25000 and SendTimeOut = 2000 with SyncSend = false, For sending, I am using bool sent = session.send(string JSON); which often result in false, my first question is is this send method waits for 2000 ms for ACK? Secondly, I am logging packet as dropped packet when send function returns false.

Kindly guide me what should be proper config for 1000+ data per second?

utkarshkap avatar Aug 31 '21 04:08 utkarshkap

Is 1000+ the package size or number of the packages you want to send?

kerryjiang avatar Oct 18 '21 07:10 kerryjiang

number of packets ..  On Monday, 18 October, 2021, 01:14:20 pm IST, Kerry Jiang @.***> wrote:

Is 1000+ the package size or number of the packages you want to send?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

utkarshkap avatar Oct 18 '21 10:10 utkarshkap