[Twisted-Python] Compressing PB communication
Tzahi Fadida
Tzahi.ML at gmail.com
Wed Jun 28 15:42:41 MDT 2006
I am interested in compressing the PB objects after serialization and
unpacking when received at the other side.
I a using the pb.PBClientFactory() and ServerFactory from the documentation.
Where is the most proper place to hack this?
What is possible?
I need to do this after the object becomes a string so i won't have to pickle
a string.
Is it possible to do something like factory.protocol.serialize=mySerialize
and in mySerialize i use the banana.encode function to encode the list of
jelly myself and return there a new list that contains the now ziped and
encoded value and let it go as it were.
This way i am not interfering with the jelly logic.
--
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