Superman
Superman

Reputation: 3784

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?

Upvotes: 2

Views: 398

Answers (1)

keyboardP
keyboardP

Reputation: 69372

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.

Upvotes: 1

Related Questions