wiki.techinc.nl/includes/libs/objectcache
Aaron Schulz 8c92400909 objectcache: optimize merge()/incr() for WinCacheBagOStuff
Do not hold WinCache locks during merge() callbacks, as that
could be seconds of being blocked (and some callers do not
expect indefinite blocking). Make merge() use the CAS method
which only uses wincache_lock() after callback runs in very
tight getWithToken()/set() cycle.

Make incr() use wincache_lock() since it also is very tight
doGet()/set() cycle with negligable work in between.

Change-Id: I0dde6f62c7e3d4a802470c181570ad4353d0e6ea
2019-03-20 20:02:18 +00:00
..
APCBagOStuff.php objectcache: make the BagOStuff::add() operation more atomic for APC 2019-03-15 00:38:11 +00:00
APCUBagOStuff.php objectcache: make the BagOStuff::add() operation more atomic for APC 2019-03-15 00:38:11 +00:00
BagOStuff.php Make BagOStuff::incr abstract to discourage bad implementations 2019-03-18 16:09:26 -07:00
CachedBagOStuff.php Make BagOStuff::incr abstract to discourage bad implementations 2019-03-18 16:09:26 -07:00
EmptyBagOStuff.php Make BagOStuff::incr abstract to discourage bad implementations 2019-03-18 16:09:26 -07:00
HashBagOStuff.php Make BagOStuff::incr abstract to discourage bad implementations 2019-03-18 16:09:26 -07:00
IExpiringStore.php objectcache: move ERR_* constants to IExpiringStore 2019-03-08 13:12:01 -08:00
MemcachedBagOStuff.php Make BagOStuff::incr abstract to discourage bad implementations 2019-03-18 16:09:26 -07:00
MemcachedClient.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
MemcachedPeclBagOStuff.php objectcache: make the $flags argument appear more consistently in BagOStuff 2019-03-12 22:55:18 +00:00
MemcachedPhpBagOStuff.php Make BagOStuff::incr abstract to discourage bad implementations 2019-03-18 16:09:26 -07:00
MultiWriteBagOStuff.php objectcache: make the $flags argument appear more consistently in BagOStuff 2019-03-12 22:55:18 +00:00
RedisBagOStuff.php objectcache: add BagOStuff::deleteMulti() method for consistency 2019-03-14 23:12:30 +00:00
ReplicatedBagOStuff.php objectcache: make BagOStuff::add() abstract to discourage non-atomic versions 2019-03-15 00:38:28 +00:00
RESTBagOStuff.php Make BagOStuff::incr abstract to discourage bad implementations 2019-03-18 16:09:26 -07:00
WANObjectCache.php Merge "objectcache: Use constant for $ttl param default in WANObjectCache::set()" 2019-03-09 00:15:00 +00:00
WANObjectCacheReaper.php objectcache: remove dangling WAN cache EventRelayer references 2019-02-16 20:22:32 -08:00
WinCacheBagOStuff.php objectcache: optimize merge()/incr() for WinCacheBagOStuff 2019-03-20 20:02:18 +00:00