On Wed Mar 11 10:29:16 2009, WSNYDER wrote:
Show quoted text> Thanks. I'm issuing a large get_multi. I made a testcase which simply
> does a put_multi of 1M numbers, then a get_multi with io_timeout to 0.1
> (to test the timeout). I fairly regularly get a undef return, meaning
> timeout, which seems good. I think my real application sometimes get
> partial results on timeouts too, though the test case doesn't - perhaps
> this is because one server completes while another doesn't?
Hard to tell. There's a bug RT#41390, which I don't have any clue
about. I suspect timing issues, but have no reliable testcase to
investigate. You may increase timeouts and/or inspect what really
happens on the wire. Just to make it clear, to my understanding
timeouts are a way to control the delay when some kind failure happens,
and are not to improve latency of normal operations. Setting them too
low will result in accumulation of more and more not-waited-for replies,
which increase the latency further.