News Feed
Jobs Feed
Sections




News Archive
PHPImpact Blog:
Memcached consistent hashing mechanism
December 24, 2008 @ 10:21:34

The PHP::Impact blog has a recommendation for those using the memcache functions in their PHP applications - be sure your hashing strategy matches what your script does.

If you are using the Memcache functions through a PECL extension, you can set global runtime configuration options by specifying the values within your php.ini file. One of them is memcache.hash_strategy. This option sets the hashing mechanism used to select and specifies which hash strategy to use: Standard (default) or Consistent.

The recommendation is to set it to consistent to allow for the most flexibility on adding and removing servers from the caching server pool without the need for outside intervention.

0 comments voice your opinion now!
cache memcache hashing mechanism recommendation consistent


blog comments powered by Disqus

Similar Posts

PHPClasses.org: 10 steps to migrate Web site servers with the least of problems

Mike Willbanks' Blog: Performance Tuning Overview

Zend Developer Zone: Zend Framework Hidden Gems: Zend_Cache

Anthony Ferrara: Designing An API: Simplified Password Hashing

Irakli Nadareishvili's Blog: Install PECL Memcache with XAMPP and PHP4


Community Events











Don't see your event here?
Let us know!


testing database framework introduction opinion phpunit release community usergroup functional zendframework2 interview language rest symfony2 podcast conference symfony series development

All content copyright, 2013 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework