swift/etc
Tim Burke 1db11df4f2 ratelimit: Allow multiple placements
We usually want to have ratelimit fairly far left in the pipeline -- the
assumption is that something like an auth check will be fairly expensive
and we should try to shield the auth system so it doesn't melt under the
load of a misbehaved swift client.

But with S3 requests, we can't know the account/container that a request
is destined for until *after* auth. Fortunately, we've already got some
code to make s3api play well with ratelimit.

So, let's have our cake and eat it, too: allow operators to place
ratelimit once, before auth, for swift requests and again, after auth,
for s3api. They'll both use the same memcached keys (so users can't
switch APIs to effectively double their limit), but still only have each
S3 request counted against the limit once.

Change-Id: If003bb43f39427fe47a0f5a01dbcc19e1b3b67ef
2020-05-19 11:10:22 -07:00
..
account-server.conf-sample Deprecate per-service auto_create_account_prefix 2020-01-05 09:53:30 -06:00
container-reconciler.conf-sample Change schedule priority of daemon/server in config 2016-08-10 23:56:15 +02:00
container-server.conf-sample Deprecate per-service auto_create_account_prefix 2020-01-05 09:53:30 -06:00
container-sync-realms.conf-sample Removing some redundant words 2016-03-25 17:20:24 +07:00
dispersion.conf-sample Fix swift-dispersion in multi-region setups 2016-06-01 15:35:47 +02:00
drive-audit.conf-sample py3: Fix swift-drive-audit 2019-10-13 21:55:58 -07:00
internal-client.conf-sample add symlink to container sync default and sample config 2017-12-14 12:13:20 -08:00
keymaster.conf-sample Add keymaster to fetch root secret from KMIP service 2018-07-03 09:00:21 +01:00
memcache.conf-sample fixups for ipv6 memcache_servers docs 2016-01-12 21:08:58 -08: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 Deprecate per-service auto_create_account_prefix 2020-01-05 09:53:30 -06:00
object-server.conf-sample Deprecate per-service auto_create_account_prefix 2020-01-05 09:53:30 -06:00
proxy-server.conf-sample ratelimit: Allow multiple placements 2020-05-19 11:10:22 -07:00
rsyncd.conf-sample Recommend better rsync.conf settings 2020-03-19 19:15:03 -05:00
swift-rsyslog.conf-sample Add sample rsyslog.conf. 2013-06-25 10:24:26 +08:00
swift.conf-sample Deprecate per-service auto_create_account_prefix 2020-01-05 09:53:30 -06:00