Re: [Zope] XMLRPC:XML Compressors - anybody experienced it?

2000-10-02 Thread Skip Montanaro


Philipp> Did anybody play with XML compressors for Zope or at least have
Philipp> a hint how to do that?

I use a slightly modified version of Fredrik Lundh's xmlrpclib.py module
that will often use zlib compression to compress responses.  Running over a
wide area network such as the Internet I've seen speedups of as much as
5-to-1.  Instructions and my current version of xmlrpclib.py are available
from my Python Bits page:

http://www.musi-cal.com/~skip/python/

I believe it is a drop-in replacement for Zope's version, though note that
my code has other mods as well (in particular, it specifies the encoding as
Latin-1 for all requests and responses).  You should compare it with the
versions distributed with Zope or by PythonWare to decide what changes you
want to incorporate in your own system.

-- 
Skip Montanaro ([EMAIL PROTECTED])
http://www.mojam.com/
http://www.musi-cal.com/

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] XMLRPC:XML Compressors - anybody experienced it?

2000-09-30 Thread Chris McDonough

Phillip,

If your data transfers are bounded between a number of systems that you
control, it's possible to solve this problem the sledgehammer way by
having them communicate via a channel such as a compressed ssh tunnel
(if your processors aren't a bottleneck).

-- 
Chris McDonough
Digital Creations, Publishers of Zope
http://www.zope.org

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )