Multi-server memcache

Created on 28 August 2019, over 5 years ago
Updated 9 July 2024, 6 months ago

I have a site that has a large traffic, I use 3 memcache instance but the synchronization between the 3 does not work well with drupal.
thank you for helping me to configure the 3 server memcache or to indicate me debugging tools.
I use this module for drupal.
Thanks.

📌 Task
Status

Active

Version

2.0

Component

Code

Created by

🇹🇳Tunisia mh.marouan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇫🇷France O'Briat Nantes

    Hi,

    I'm using the memcached php module, this client should provide server failure (https://www.php.net/manual/en/memcached.constants.php#memcached.constant...), so if a server is no more available the sharding method is updated and missing keys (previously allocated to the missing server) should be recreated on servers still available.
    The performance loss should be punctual and inferior to a single

    drush cr

    .

    But it doesn't seems to be the case: I tested it, I shutdowned one server (on two) and all performances were falling down. Everything returned to normal once the server was back online.

    Am I missing something?

    Also I don't get the point of using multiple bins and allocated them on specific memcached server/cluster. It looks like micro optimization, the eventual use cases should be better documented.

Production build 0.71.5 2024