Download & Extend

a failed memcache server causes 1 minute delay to load a page

Project:Cache
Version:6.x-1.0-beta1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Hi,

My bins are configured like this:

  'bins' => array(
    // Bin name     => Schema name.
    'default' => 'db-schema',
    'cache_custom'  => 'memcache-custom', // server is available
    'cache_page'  => 'memcache-page', // server is not available
  ),

The memcache server for memcache-custom is up and running. But the memcache server for memcache-page is not running. With this setup, there was a delay of about 1 minute to load a page. My guess is that it kept trying to connect to the unavailable memcache server. However, this delay makes automatic failover to the default bin too slow to be useful.

Comments

#1

The last sentence in the issue should be: However, this delay makes automatic failover to the default "db-schema" too slow to be useful.