I’m trying to implement another pure javascript memcache client for node.js.
The question is that I have to get keys which were set by PHP Memcache class from multipule memcache server, but I can’t figure out how PHP hashes those keys.
I have looked for the Memcache class manual:
http://www.php.net/manual/en/memcache.ini.php
the “memcache.hash_function” is “crc32”, but I still have no idea how to determine which server to set from a crc32 hash.
Is there some docs or references?
Thanks in advence.
The information will be housed in PECL: http://pecl.php.net/package/memcache
To find out the details you will most likely need to review the source of the extension.