Results 1 to 2 of 2

Thread: Data compression for stream with small packet

  1. #1
    Member alpha_one_x86's Avatar
    Join Date
    May 2012
    Location
    Bolivia
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Data compression for stream with small packet

    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):
    C00003
    0100002152000000080074006f0074006f000200020200C8
    02000021530206020801
    0300002154
    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.

  2. #2
    Programmer Bulat Ziganshin's Avatar
    Join Date
    Mar 2007
    Location
    Uzbekistan
    Posts
    4,497
    Thanks
    733
    Thanked 659 Times in 354 Posts
    i don't understand color pictures, sample data stream of few megabytes would be much better

Similar Threads

  1. loseless data compression method for all digital data type
    By rarkyan in forum Data Compression
    Replies: 157
    Last Post: 9th July 2019, 17:28
  2. Replies: 3
    Last Post: 16th May 2016, 00:02
  3. Compressing small bits of data
    By fredrp in forum Data Compression
    Replies: 9
    Last Post: 28th April 2009, 22:27
  4. PACKET v.0.01 new fast compressor !
    By Nania Francesco in forum Data Compression
    Replies: 45
    Last Post: 19th June 2008, 01:44
  5. a small plea for the command line compression developers
    By SvenBent in forum Data Compression
    Replies: 2
    Last Post: 14th June 2008, 02:51

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •