SuperSocket icon indicating copy to clipboard operation
SuperSocket copied to clipboard

Flow Control in Websocket and TCP Server

Open utkarshkap opened this issue 2 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