开发者

Compressed Network Streams Design

开发者 https://www.devze.com 2023-03-05 18:52 出处:网络
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 inter

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消