2

I am looking for a distinction or what is needed for data compression over a network.

Now i am not talking about something simple like http/and image compression, but am looking for something more efficient and that actually compresses the network data.

It could be something that compresses at point A and decompresses at Point B with some device, or computer.

But does something like this exist or what would be the distinction I am looking for to tackle something like this?

Is there anything that can split up the information and compress it on the way to save traffic? And I am talking about serious compression here of all data.

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
tyrone 251
  • 355
  • 1
  • 4
  • 14
  • 1
    Most data going over the network is already compressed. So you won't get much, if any gain. You might in fact get a tiny amount of expansion instead. In general the data should be compressed at the server/client level where you might know something about the data that would help you apply the right compression approach, or know that it's already compressed. – Mark Adler Mar 14 '14 at 17:42

3 Answers3

1

For Headers, ROHC can be used. It is a method to compresses the headers like TCP, IP, UDP, RTP of Internet packets.

It compresses the IPv4 or IPv6 headers overhead of 40 bytes or 60 bytes to 1 or 2 bytes.

Refer to RFC3095 for RTP, UDP and ESP. Refer to RFC4996 for TCP/IP

For compression of data, any of the normal data compression algorithm can be used.

Karthik Balaguru
  • 7,424
  • 7
  • 48
  • 65
0

For point to point compression you have applications like:

Zebedee or IPTunnelManager

Once I did a java implementation with zlib compression to access database over a slow VPN connection, it improve the response times by a factor of 3.

Keep in mind that when you use a tunnel you have to connect to your end of the tunnel and not to the original destination, this works well if you have only one destination that you want to reach, otherwise you need to use different ports/tunnels or a protocol to communicate which endpoint you want to reach.

pmoleri
  • 4,238
  • 1
  • 15
  • 25
0

You can try many compress algorithms such as gzip, lzo, quicklz, lz4, snappy and so on.

Charlie
  • 418
  • 3
  • 9