swift/swift/common/middleware/s3api
Tim Burke 5c6407bf59 proxy: Add a chance to skip memcache for get_*_info calls
If you've got thousands of requests per second for objects in a single
container, you basically NEVER want that container's info to ever fall
out of memcache. If it *does*, all those clients are almost certainly
going to overload the container.

Avoid this by allowing some small fraction of requests to bypass and
refresh the cache, pushing out the TTL as long as there continue to be
requests to the container. The likelihood of skipping the cache is
configurable, similar to what we did for shard range sets.

Change-Id: If9249a42b30e2a2e7c4b0b91f947f24bf891b86f
Closes-Bug: #1883324
2022-08-30 18:49:48 +10:00
..
controllers Add MPU to s3api tests 2022-08-24 12:18:03 -07:00
schema s3api: Make the 'Quiet' key value case insensitive 2022-03-24 20:22:21 +01:00
__init__.py Import swift3 into swift repo as s3api middleware 2018-04-27 15:53:57 +09:00
acl_handlers.py Do not fetch content of container/object to retrieve S3 ACLs 2022-01-13 15:04:36 +01:00
acl_utils.py s3api: Add best-effort support for more canned ACLs 2022-05-31 10:01:18 -07:00
etree.py Remove lxml deprecated methods 2020-06-23 13:32:22 +02:00
exception.py Import swift3 into swift repo as s3api middleware 2018-04-27 15:53:57 +09:00
s3api.py proxy: Add a chance to skip memcache for get_*_info calls 2022-08-30 18:49:48 +10:00
s3request.py s3api: Better handle 503s in get_container_info, too 2022-06-24 15:01:02 -07:00
s3response.py s3api: Improve error message when bucket is not empty 2022-04-15 15:36:56 +02:00
s3token.py Fixing S3 credential caching region support 2020-09-21 17:46:20 -05:00
subresource.py s3api: Make grentee types case insensitive 2022-06-20 18:52:09 +02:00
utils.py Round s3api listing LastModified to integer resolution 2022-05-10 11:26:27 +01:00