On Jun 23, 1:54 am, john dixon <[email protected]> wrote: > Please bear with me if I am talking nonsense below!! > > I am trying to understand what happens once the attempt to retrieve an > object, from memcache, times out. > > Does the mc.get(key) method immediately return a null object and the > connection is closed or does the method retry until the memcache > server is contacted? If the method retries, does it create a new > connection or does it reuse the current one? > > Is there some configuration that is relevant for my query?
That's up to your client library. spymemcached for example has a synchronous interface makes use of a global timeout (typically around a second) such that you'll get an OperationTimeoutException. If you use the async interface, you have a bit more flexibility.
