[JDEV] GZipping Jabber Messages

Michael F Lin MFLIN at us.ibm.com
Fri Jan 4 15:48:13 CST 2002

Keep in mind that the gzip data would have to be base64 coded, which would
increase its size by 33%. So you can run the statistics and figure out how
long your payloads have to be to get better than 33% compression ratios
with gzip, but I imagine it is quite long relative to the average since of
a Jabber packet (message/presence/iq).


                      Adam Theo                                                                                                        
                      <adamtheo at theoret        To:       jdev <jdev at jabber.org>                                                        
                      ic.com>                  cc:                                                                                     
                      Sent by:                 Subject:  [JDEV] GZipping Jabber Messages                                               
                      jdev-admin at jabber                                                                                                
                      01/04/2002 03:32                                                                                                 
                      Please respond to                                                                                                

Hi, all. There's a good discussion going on over at the DotGNU Developer
list about gzip'ing the XML that is transmitted around on the DotGNU

Was wondering if it would be possible to incorporate the same thing for
future versions of the Jabber server? Is it feasible, anyway? They are
saying the trade-offs for extra resource consumption would not be bad at
all if designed into the server properly, and would reduce bandwidth
very dramatically (like by 80%, i think). This would be useful for
high-volume servers with enough processing power, i think...
    /\    -- Adam Theo, Age 22, Tallahassee FL USA --
   //\\   Theoretic Solutions (http://www.theoretic.com)
  /____\    "Software, Internet Services and Advocacy"
/--||--\ Personal Website (http://www.theoretic.com/adamtheo)
    ||    Jabber Open IM (http://www.jabber.org)
    ||    Email & Jabber: adamtheo at theoretic.com
    ||    AIM: AdamTheo2000   ICQ: 3617306   Y!: AdamTheo2
  "A free-market socialist computer geek patriotic American buddhist."

jdev mailing list
jdev at jabber.org

More information about the JDev mailing list