swift/etc
Samuel Merritt f559c50acb Local read affinity for GET/HEAD requests.
Now you can configure the proxy server to read from "local" primary
nodes first, where "local" is governed by the newly-introduced
"read_affinity" setting in the proxy config. This is desirable when
the network links between regions/zones are of varying capacities; in
such a case, it's a good idea to prefer fetching data from closer
backends.

The new setting looks like rN[zM]=P, where N is the region number, M
is the optional zone number, and P is the priority. Multiple values
can be specified by separating them with commas. The priority for
nodes that don't match anything is a very large number, so they'll
sort last.

This only affects the ordering of the primary nodes; it doesn't affect
handoffs at all. Further, while the primary nodes are reordered for
all requests, it only matters for GET/HEAD requests since handling the
other verbs ends up making concurrent requests to *all* the primary
nodes, so ordering is irrelevant.

Note that the default proxy config does not have this setting turned
on, so the default configuration's behavior is unaffected.

blueprint multi-region

Change-Id: Iea4cd367ed37fe5ee69b63234541d358d29963a4
2013-06-10 16:51:47 -07:00
..
account-server.conf-sample Make sample configs more readable. 2013-06-06 15:35:19 -07:00
container-server.conf-sample Make sample configs more readable. 2013-06-06 15:35:19 -07:00
dispersion.conf-sample Allow change the endpoint_type when use swift-dispersion tools 2013-01-31 16:10:37 +01:00
drive-audit.conf-sample Patch for Swift Solaris (Illumos) compability. 2012-06-19 15:38:56 +04:00
memcache.conf-sample Do not use pickle for serialization in memcache, but JSON 2012-08-03 16:22:21 +02:00
mime.types-sample PEP 8 compliance and small modification to mime.types file 2010-11-23 19:26:02 -06:00
object-expirer.conf-sample Make sample configs more readable. 2013-06-06 15:35:19 -07:00
object-server.conf-sample Make sample configs more readable. 2013-06-06 15:35:19 -07:00
proxy-server.conf-sample Local read affinity for GET/HEAD requests. 2013-06-10 16:51:47 -07:00
rsyncd.conf-sample Added missing lockfile configuration to sample rsync.conf 2011-02-12 18:27:59 -08:00
swift-bench.conf-sample Misc. swift-bench improvements. 2012-08-27 20:25:44 +00:00
swift.conf-sample Fixing /etc/swift.conf-sample to include 2013-04-22 19:32:45 +03:00