SuperSocket
SuperSocket copied to clipboard
Flow Control in Websocket and TCP Server
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?