[Twisted-Python] Compressing PB communication

Tzahi Fadida Tzahi.ML at gmail.com
Thu Jun 29 02:21:40 MDT 2006


10x!, exactly what i needed
It is useful for very big transfers (around 20mbytes).
The clients have a limited bandwidth of 750kbits or less
so it would be very useful to compress very big messages.

Which leads me to ask if it is possible to associate a .write call
to a specific callRemote or return value? or at least Mark the data
i wish to send, to be compressed after serialization in the callRemote.
Obviously there is no need to compress everything.
More so, it is possible to add meta information per call, like encryption
or tags for tracing etc... or if the server is loaded or, for example,
use a server in between to handle compression by looking at the meta
tag. Could be very useful. I'll need to do some testing to see what
is better.

On Thursday 29 June 2006 02:00, Jean-Paul Calderone wrote:
> On Thu, 29 Jun 2006 00:42:41 +0300, Tzahi Fadida <tzahi.ml at gmail.com> wrote:
> >I am interested in compressing the PB objects after serialization and
>
> Attached a demonstration of doing this.
>
> However, I doubt it's actually a useful idea.
>
> Jean-Paul

-- 
Regards,
        Tzahi.
--
Tzahi Fadida
Blog: http://tzahi.blogsite.org | Home Site: http://tzahi.webhop.info
WARNING TO SPAMMERS:  see at 
http://members.lycos.co.uk/my2nis/spamwarning.html




More information about the Twisted-Python mailing list