[JobQueue] Added JobQueueFederated class for partitioned queues.
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 28 Feb 2013 22:21:28 +0000 (14:21 -0800)
committerGerrit Code Review <gerrit@wikimedia.org>
Fri, 19 Apr 2013 03:27:15 +0000 (03:27 +0000)
commitfc81192a06372779240c23cd96fb305488925bd5
treeab04aaa3098155872358cfeb0723bf06b1870ce1
parented01e813591acaec424e482791f774d800a466bb
[JobQueue] Added JobQueueFederated class for partitioned queues.

* This lets queues be horizontally partitioned onto
  different servers, with weights assigned to each.
  The queue classes used by the different partitions
  can be hetereogenous or homogeneous.
* How partitioning is done is setup similar to LBFactory,
  where wikis belong to sections and sections have config.

Change-Id: I44d59b67cf417dca28a3e9b25371dac5a7ffcb47
includes/AutoLoader.php
includes/HashRing.php [new file with mode: 0644]
includes/job/JobQueue.php
includes/job/JobQueueFederated.php [new file with mode: 0644]