[IPython-dev] Zmq branch on LP: re-created.

Brian Granger ellisonbg at gmail.com
Thu Apr 29 22:43:16 EDT 2010


On Thu, Apr 29, 2010 at 4:30 PM, Fernando Perez <fperez.net at gmail.com> wrote:
> On Thu, Apr 29, 2010 at 12:50 AM, Hans Meine <hans_meine at gmx.net> wrote:
>> In our own two-process, Qt-based python terminal, we simply connected to the
>> signal the TCP socket class emits when the connection closed.  AFAIK that's
>> the standard approach for TCP/IP-based IPC with daemons (e.g. I recall
>> KDE/DCOP etc. do that), and if 0mq really is the superior solution nowadays,
>> I hope it offers the same failsafe detection of a lost/closed connection.
>
> I don't think zmq sockets signal when they drop the connection,
> though.  Brian, is that right?

Correct.

> Hans, were you using pure python sockets?  We're trying to avoid any
> python code in the sockets layer, so that message queuing can continue
> to happen even if the kernel is running blocking code (e.g. numpy).
> zmq does that by releasing the gil for most of its operations.  Was
> that not an issue for you guys?

Probably not my guess.

Brian

> Cheers,
>
> f
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>



-- 
Brian E. Granger, Ph.D.
Assistant Professor of Physics
Cal Poly State University, San Luis Obispo
bgranger at calpoly.edu
ellisonbg at gmail.com



More information about the IPython-dev mailing list