Hello, I search real time compression to compress my tcp stream. That's mean not wait more data to send compressed data.
On the view of client, the 50% (or more) of upload, will be of this kind:
Where the 4 first bytes is the packet/weft lenght: 00000007 400602
20% will be near: 0000000C c20003 4006024123
The upload will be near (50% of this query):
The rest is more than 200Bytes mainly (chat, file transfer, ...)
The chain is: raw data -> compression -> tcp socket -> decompression -> parsing, this chain will not need have delay (other than cpu + transmission speed).
What is the better algorithm in this case, to prevent overhead on small packet, and correction compression ratio on big packet? The speed not interest to me.
Thanks to your help.