[Standards-JIG] changes to JEP-0138 (Stream Compression)?
spendleton at movsoftware.com
Fri Mar 25 21:15:06 UTC 2005
I did write up some suggestions (below). My problem with 0138 is that it
only supports zlib compression. There are no provisions for other
compression methods or compression levels. It think that stream compression
should be setup using feature negotiation.
After reading through the JEP-0138, I would like to submit some ideas on
this to the jdev community. As was mentioned before on the list many mobile
clients have limited processing and/or memory requirements that may preclude
the use of zlib at certain compression levels. For example, zlib compression
at level 3 may perform well on a typical cellphone, but level 9 may produce
unacceptable performance. It seems to me that this would be a excellent use
case of JEP-0020 (feature negotiation) to find out what compression levels
and/or methods (zlib, bzip, foozip, etc) are supported on the endpoints.
A sample session is described below:
CLIENT (query server for features):
SERVER (sends back a negotiable feature list):
CLIENT (asks to negotiate zlib type compression):
<x xmlns='jabber:x:data' type='submit'>
SERVER (server supports both levels 1 and 2 of the zlib compression
<x xmlns='jabber:x:data' type='result'>
<field var='zlib-compression-level' type='form'>
CLIENT (the client selects level 2 of zlib compression):
<iq type="result" id="1" to='movcast.movsoftware.com'>
CLIENT (the client must now initiate a new stream using the new compression)
Any feedback on this scheme would be welcome.
From: standards-jig-bounces at jabber.org
[mailto:standards-jig-bounces at jabber.org] On Behalf Of Peter Saint-Andre
Sent: Friday, March 25, 2005 3:28 PM
To: standards-jig at jabber.org
Subject: [Standards-JIG] changes to JEP-0138 (Stream Compression)?
I just noticed that JEP-0138 (Stream Compression) was last updated on
2004-09-28 and therefore is due to be automatically deprecated soon.
However, I know we've discussed some potential changes to this JEP. I will
go back over the list archives to formulate a list of suggested changes, but
if anyone else has requests, please send them along.
Jabber Software Foundation http://www.jabber.org/people/stpeter.shtml
Standards-JIG mailing list
Standards-JIG at jabber.org
More information about the Standards