[Zope] pickle passing over a socket

Andreas Jung lists at zopyx.com
Fri Aug 22 13:49:05 EDT 2008



--On 22. August 2008 10:43:26 -0700 David Bear <David.Bear at asu.edu> wrote:

> On 8/22/08, Andrew Milton <akm at theinternet.com.au> wrote:
>>
>> +-------[ David Bear ]----------------------
>>
>> | 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.
>> |
>> | Then one could have another python process listening on the socket --
>> ready to
>> | receive pickles for zope.
>>
>>
>> Isn't this called ZEO? d8)
>>
>>
> ZEO could be a model for this - but ZEO stores the pickles to zodb. What
> if I wanted to queue the pickle up and take some kind of long term
> processing action on it? Store it in a network file system -- which may
> have a high write latency to, put it in a data base for which there were
> no zope connectors, etc.

Please be _very_ detailed about your particular use. At least from what 
wrote so far: this sounds like an idea of the last century.

-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20080822/7fbb6e61/attachment.bin 


More information about the Zope mailing list