[Zope] pickle passing over a socket
David Bear
David.Bear at asu.edu
Fri Aug 22 13:35:18 EDT 2008
On 8/22/08, Andreas Jung <lists at zopyx.com> wrote:
>
>
>
> --On 22. August 2008 09:33:21 -0700 David Bear <David.Bear at asu.edu> wrote:
>
> It seems to me that it could be usefull to have a zope method for passing
>> python pickles to external processes through a unix domain socket. My
>> thinking was to use this as a means to abstract a data base connection.
>> Yes, I know there are zsql methods, sqlalchemy and other products to do
>> this. But my thought was to have a generilzed method for just passing a
>> pickle to an external process that could do anything with it. Perhaps it
>> could pass a pickle to a queue that would handle the pickle if the site
>> need
>> some high volume handling of data.
>>
>>
> Ever heard of XMLRPC? Sorry, your idea sounds like a bit like
> broken-by-design or like I-have-never-heard--anything-of-higher-protocols.
You are correct, there are higher level protocols. However, since I was only
thinking of using python processes, I thought I could simplify the whole
design by just passing pickles. No need to parse an xml object, use fast
cpickle module.
-aj
>
--
David Bear
College of Public Programs at ASU
602-464-0424
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20080822/e844110a/attachment.html
More information about the Zope
mailing list