Re: [Zope] pickle passing over a socket

2008-08-22 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Bear 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 kno

Re: [Zope] pickle passing over a socket

2008-08-22 Thread Andreas Jung
--On 22. August 2008 10:35:18 -0700 David Bear <[EMAIL PROTECTED]> wrote: 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 f

Re: [Zope] pickle passing over a socket

2008-08-22 Thread Janko Hauser
Am 22.08.2008 um 19:43 schrieb David Bear: On 8/22/08, Andrew Milton <[EMAIL PROTECTED]> 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.

Re: [Zope] pickle passing over a socket

2008-08-22 Thread Andrew Milton
+---[ Andreas Jung ]-- | | >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

Re: [Zope] pickle passing over a socket

2008-08-22 Thread Andreas Jung
--On 22. August 2008 10:43:26 -0700 David Bear <[EMAIL PROTECTED]> wrote: On 8/22/08, Andrew Milton <[EMAIL PROTECTED]> wrote: +---[ David Bear ]-- | It seems to me that it could be usefull to have a zope method for | passing python pickles to external processes thro

Re: [Zope] pickle passing over a socket

2008-08-22 Thread David Bear
On 8/22/08, Andrew Milton <[EMAIL PROTECTED]> 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 t

Re: [Zope] pickle passing over a socket

2008-08-22 Thread Andrew Milton
+---[ 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 met

Re: [Zope] pickle passing over a socket

2008-08-22 Thread David Bear
On 8/22/08, Andreas Jung <[EMAIL PROTECTED]> wrote: > > > > --On 22. August 2008 09:33:21 -0700 David Bear <[EMAIL PROTECTED]> 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 wa

Re: [Zope] pickle passing over a socket

2008-08-22 Thread Andreas Jung
--On 22. August 2008 09:33:21 -0700 David Bear <[EMAIL PROTECTED]> 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,

[Zope] pickle passing over a socket

2008-08-22 Thread 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 m