Last modified: 2012-05-17 20:58:13 UTC
Our current memcache implementation has a few issues (e.g. timeout failure mode, limited format support) which could be addressed. However, the client was written before there were good standard options such as the PECL memcache client. Per conversation with Asher and Patrick, we should replace BagOStuff with a different client. The hope is that this will be part of our long-term solution for bug 35900
Assigned to Chris for now. We may need to rebalance.
Also note that does evil things, like cast resources to ints to use as array keys ;)
Aaron: The MemcachedPhpBagOStuff class? Or the MemcachedClient class?
(In reply to comment #3) > Aaron: The MemcachedPhpBagOStuff class? Or the MemcachedClient class? MemcachedClient would be ditched and MemcachedPhpBagOStuff changed to use the PECL extension instead.
(In reply to comment #4) > (In reply to comment #3) > > Aaron: The MemcachedPhpBagOStuff class? Or the MemcachedClient class? > > MemcachedClient would be ditched and MemcachedPhpBagOStuff changed to use the > PECL extension instead. Well, to support third party sites, it makes sense to keep these around but make a new MemcachedPeclBagOStuff class that uses the PECL extension.
Tim already did this work and it's committed as https://gerrit.wikimedia.org/r/#/c/7273/