Aaron Schulz has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/341142 )
Change subject: Add dynomite comments to WANObjectCache ...................................................................... Add dynomite comments to WANObjectCache Change-Id: I7ac9961e6acdecf90b766643138bb64b5ea9ec4a --- M includes/libs/objectcache/WANObjectCache.php 1 file changed, 12 insertions(+), 7 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/42/341142/1 diff --git a/includes/libs/objectcache/WANObjectCache.php b/includes/libs/objectcache/WANObjectCache.php index 75c79a9..f0a439a 100644 --- a/includes/libs/objectcache/WANObjectCache.php +++ b/includes/libs/objectcache/WANObjectCache.php @@ -44,15 +44,20 @@ * * The simplest purge method is delete(). * - * There are two supported ways to handle broadcasted operations: + * There are three supported ways to handle broadcasted operations: * - a) Configure the 'purge' EventRelayer to point to a valid PubSub endpoint - * that has subscribed listeners on the cache servers applying the cache updates. + * that has subscribed listeners on the cache servers applying the cache updates. * - b) Ignore the 'purge' EventRelayer configuration (default is NullEventRelayer) - * and set up mcrouter as the underlying cache backend, using one of the memcached - * BagOStuff classes as 'cache'. Use OperationSelectorRoute in the mcrouter settings - * to configure 'set' and 'delete' operations to go to all DCs via AllAsyncRoute and - * configure other operations to go to the local DC via PoolRoute (for reference, - * see https://github.com/facebook/mcrouter/wiki/List-of-Route-Handles). + * and set up mcrouter as the underlying cache backend, using one of the memcached + * BagOStuff classes as 'cache'. Use OperationSelectorRoute in the mcrouter settings + * to configure 'set' and 'delete' operations to go to all DCs via AllAsyncRoute and + * configure other operations to go to the local DC via PoolRoute (for reference, + * see https://github.com/facebook/mcrouter/wiki/List-of-Route-Handles). + * - c) Ignore the 'purge' EventRelayer configuration (default is NullEventRelayer) + * and set up dynomite as cache middleware between the web servers and either + * memcached or redis. This will also broadcast all key setting operations, not just purges, + * which can be useful for cache warming. Writes are eventually consistent via the + * Dynamo replication model (see https://github.com/Netflix/dynomite). * * Broadcasted operations like delete() and touchCheckKey() are done asynchronously * in all datacenters this way, though the local one should likely be near immediate. -- To view, visit https://gerrit.wikimedia.org/r/341142 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I7ac9961e6acdecf90b766643138bb64b5ea9ec4a Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Aaron Schulz <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
