swift/etc
Samuel Merritt d9f2a76973 Local write affinity for object PUT requests.
The proxy can now be configured to prefer local object servers for PUT
requests, where "local" is governed by the "write_affinity". The
"write_affinity_node_count" setting controls how many local object
servers to try before giving up and going on to remote ones.

I chose to simply re-order the object servers instead of filtering out
nonlocal ones so that, if all of the local ones are down, clients can
still get successful responses (just slower).

The goal is to trade availability for throughput. By writing to local
object servers across fast LAN links, clients get better throughput
than if the object servers were far away over slow WAN links. The
downside, of course, is that data availability (not durability) may
suffer when drives fail.

The default configuration has no write affinity in it, so the default
behavior is unchanged.

Added some words about these settings to the admin guide.

DocImpact

Change-Id: I09a0bd00524544ff627a3bccdcdc48f40720a86e
2013-06-23 22:04:56 -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 Merge "Add parallelism to object expirer daemon." 2013-06-11 22:48:24 +00:00
object-server.conf-sample Merge "Use threadpools in the object server for performance." 2013-06-11 22:47:07 +00:00
proxy-server.conf-sample Local write affinity for object PUT requests. 2013-06-23 22:04:56 -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 Add max_header_size to swift.conf-sample and relative UT 2013-06-19 23:45:38 +08:00