[IPython-User] Fault tolerance?
MinRK
benjaminrk@gmail....
Thu Jan 26 12:52:39 CST 2012
On Thu, Jan 26, 2012 at 06:47, <darren@ontrenet.com> wrote:
> Hi,
> Is there any support in ipython for fault-tolerance? Let's say an engine
> on a server has received a task, but that server explodes and never
> returns. Will that task be replayed elsewhere? How is this handled?
Yes - there is a `retries` flag / view attribute, which determines how
many times tasks will be resubmitted after failures:
with lbview.temp_flags(retries=2):
lbview.apply_async(f,*args)
Or just:
lbview.retries = 2
to apply it to all subsequent tasks.
-MinRK
>
> thanks!
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user
More information about the IPython-User
mailing list