[zeromq-dev] REQ-REP Timeouts in PyZMQ

Dustin Webb daemonmaker at gmail.com
Fri Nov 21 14:25:10 CET 2014


Greetings everyone,

I have recently written a train_extension for Pylearn2 that uses PyZMQ to
let me query for data from my experiments. My train_extension works in
conjunction with a client that queries for the data and plots the response.
The train_extension receives and responds to requests for data after each
training epoch. However these training epochs can take a long time to run,
e.g. any where from minutes to hours in the normal cases. As such I'm
wondering about timeout behavior. Put simply, will the connections timeout?
And if so, under what conditions and how will the timeouts manifest? In
other words, will the send on the client raise a TimeOut exception after a
certain period of time? And on the server side, what will happen to a
request that was received hours earlier?

Thanks in advance,
Dustin Webb <http://www.cs.utah.edu/~dustin>
Undefined Intelligence <http://daemonmaker.blogspot.com/>
Algorithmic Robotics Lab <http://arl.cs.utah.edu/>
Laboratoire d'Informatique des Systemes Adaptatifs
<http://lisa.iro.umontreal.ca/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20141121/9f968459/attachment.htm>


More information about the zeromq-dev mailing list