]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Additional in-process cache plugin InProcessCache
authorEvan Prodromou <evan@status.net>
Thu, 9 Dec 2010 15:45:36 +0000 (10:45 -0500)
committerEvan Prodromou <evan@status.net>
Thu, 9 Dec 2010 15:45:36 +0000 (10:45 -0500)
commitf5f6a742cb9773b22022ea1d33dec64b13931173
treef0bf7ef54f9168b26336db09dd6cbcdc8ce06519
parent94ff04e1903cf3a544e52e64846538dee5f23fb3
Additional in-process cache plugin InProcessCache

Some of our caching systems, like the disk cache or memcached, have
significant overhead (network connections or disk I/O).

This plugin adds an additional layer of in-process cache, so we don't
need to reconnect to external cache systems when we've already
received a data item from the cache. There are some concurrency issues
here, but typically they won't be important at the level of a single
web hit.
plugins/InProcessCache/InProcessCachePlugin.php [new file with mode: 0644]