Compressed Network Streams Design
I am looking for some fast / low latency stream implementations for C#/.开发者_开发知识库Net, and would be interested what is out there. These streams will be reporting live market data, so I am interested in low latency, as well as moderately high compression, and the data will be pushed out on a TCP stream. What options are available to compress a TCP stream?
You could serialize your data with Protobuf.net which reduces the size by being densely encoded.
As Marc says, it's probably better to use a raw socket.
精彩评论