Issue Type: Improvement Created: 2008-12-15T01:32:30.000+0000 Last Updated: 2012-02-10T09:36:53.000+0000 Status: Resolved Fix version(s): - 1.7.2 (23/Dec/08)
Reporter: Dmitry Koterov (dmitry_koterov) Assignee: Satoru Yoshida (satoruyoshida) Tags: - Zend_Cache
Related issues: Attachments:
This patch: http://temp.dklab.ru/Memcached.php.patch.txt adds the support of $weights parameter to memcached backend.
Documentation at http://php.net/manual/en/… says: weight Number of buckets to create for this server which in turn control its probability of it being selected. The probability is relative to the total weight of all servers.
This is quite useful in heavy-loaded projects. Note that DEFAULT_WEIGHT = 1 is brought from PHP memcache extension source code and correct.
Could you please apply it in a next ZF release?
Posted by old of Satoru Yoshida (email@example.com) on 2008-12-19T01:59:21.000+0000
Solved in SVN r13367. I add not only the weight, but also timeout, retry_interval and status. I assumed the value of timeout to be 5 seconds.
Posted by old of Satoru Yoshida (firstname.lastname@example.org) on 2008-12-21T19:53:11.000+0000
I fix documents also in SVN r13418
Have you found an issue?
See the Overview section for more details.