pickle passing client/server design

John Krukoff jkrukoff at ltgc.com
Fri Aug 22 19:15:46 CEST 2008


On Fri, 2008-08-22 at 10:09 -0700, DwBear75 wrote:
> I am contemplating the need for a way to handle high speed data
> passing between two processes. One process would act as a queue that
> would 'buffer' data coming from another processes. Seems that the
> easiest way to handle the data would be to just pass pickles. Further,
> I'm thinking that using a unix domain socket would make this a simple
> way to pass high volumes of pickles. Are there any examples of an
> architecture like these, where a process is a client, sending pickles
> to a server listening on a domain socket?
> 
> I'm am thinking there would be a need to have a semaphore, and some
> ACK or NACK that the server process got the whole pickle.
> --
> http://mail.python.org/mailman/listinfo/python-list

Quick bit of advice, don't reinvent the wheel, use PYRO:
http://pyro.sourceforge.net/index.html
-- 
John Krukoff <jkrukoff at ltgc.com>
Land Title Guarantee Company




More information about the Python-list mailing list