[jdev] Re: XMPP Ping method?

Alexander Gnauck gnauck at ag-software.de
Fri Nov 3 05:05:25 CST 2006


Alexander Gnauck wrote:
> zlib is doing very well for me on pocket pc's and smartphones. And also 
> the compression rate is very good. It's on my TODO list for a very long 
> time now to post some stats. Going back to work now and do that ;-)

i attached 2 compression logs. This logs are from 2 short sessions with 
my test account. Unfortunately myJabber.net where i have my real account 
supports no stream compression, so i can't create a log from a 
long-living session.

But i think from this logs you can get some idea how well zlib does the 
job. The very small incoming and outgoing packets are presence packets 
(90-98% compression). In log2 I browsed some chatservers where the 
compression rate is about 20%.

you also see that the keep alive whitespaces blow up 400% with 
compression enabled ;-)

Comp	= count compressed bytes
Org	= count original bytes
TComp	= total count compressed bytes
TOrg	= total count original bytes

Regards Alex
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: log1.txt
URL: <https://www.jabber.org/jdev/attachments/20061103/ffbc8db2/attachment-0004.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: log2.txt
URL: <https://www.jabber.org/jdev/attachments/20061103/ffbc8db2/attachment-0005.txt>


More information about the JDev mailing list