mercredi 12 octobre 2016

Laravel Memcache. Purpose of the multiple memcached servers

I'm using Laravel and memcached. Only one memcached is connected from my laravel app but I need to increase the availability by adding extra memcached server. (or by another ways)

I found the following description. It seems that I can set up multiple memcached. But I don't know if it is my solution or not.

Memcached

Using the Memcached driver requires the Memcached PECL package to be installed. You may list all of your Memcached servers in the config/cache.php configuration file:

http://ift.tt/2es0q1K

Some say that we can set up weigh to decide priority for retrieving... but not clear for me. I also need to have the consistency of data. I need to get the same data from both the multiple memcached servers.

My question is the meaning of the multiple memcached setting.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire