Use consistent hashing for SqlBagOStuff servers
authorTim Starling <tstarling@wikimedia.org>
Fri, 4 Jan 2013 09:23:26 +0000 (20:23 +1100)
committerGerrit Code Review <gerrit@wikimedia.org>
Fri, 4 Jan 2013 18:07:07 +0000 (18:07 +0000)
commit7c4198805ab93facdd1f2c4e1d647ecf4c1fa21b
tree5c7cf70949d679005422fa1e4fab15844729a9ec
parent861f4fb28a9fd3e41d77683ebd9201c87686a482
Use consistent hashing for SqlBagOStuff servers

Also factor out consistent hash code from Redis and the new application
into a class called ArrayUtils. The name "ArrayUtils" is from
I0f4e7d7c, I expect that change will be rebased on top of this one at
some point.

Change-Id: I9375087f4d7a6e8e629d97bfb6b117d9cb7d1bcf
includes/ArrayUtils.php [new file with mode: 0644]
includes/AutoLoader.php
includes/objectcache/RedisBagOStuff.php
includes/objectcache/SqlBagOStuff.php