inhindsight / hindsight

Apache License 2.0
12 stars 8 forks source link

Receive Websocket Performance #192

Open ManApart opened 4 years ago

ManApart commented 4 years ago

Receive seems to be able to handle around 9,000 small web socket messages a second. Increasing that number slightly slows down the producer. Increasing that number by a large amount causes Receive to crash / roll / disconnect.

AC

Tech Notes

Data

Messages/second Messages Sent Messages Received Messages Dropped Percent Dropped Drift of last message in seconds Time Diff between first and last message on kafka topic (seconds) [expected without lag is 1000] Messages / Second Notes
1,000 1,000,000 1,000,000 0 0% 0.6 1018 982  
10,000 10,000,000 10,000,000 0 0% 1.3 1104 9,058 Run with TCP no delay
10,000 10,000,000 10,000,000 0 0% 0.1 1183 8,453 Run without TCP no delay
20,000 20,000,000 NA #VALUE! #VALUE!       Disconnected before finishing payload
15,000 15,000,000 NA #VALUE! #VALUE!       Disconnected before finishing payload
12,500 12,500,000 10,008,243 2,491,757 20%   1105 9,057 Significant messages dropped. Run with TCP delay on

More Notes here