swift/etc
Michael Barton 24ef12027c Basic container quotas
Add a new middleware implementing some basic container quotas.

Quotas are subject to several limitations: eventual consistency, the timeliness
of the cached container_info (60 second ttl by default), and it’s unable to
reject chunked transfer uploads that exceed the quota (though once the quota
is exceeded, new chunked transfers will be refused).

However, they get most of the way to container quotas fairly inexpensively.

Quotas are set by adding meta values to the container, and are validated when
set:

  X-Container-Meta-Quota-Bytes: Maximum size of the container, in bytes.
  X-Container-Meta-Quota-Count: Maximum object count of the container.

DocImpact

Change-Id: I77cfbf6dc231a2e522bd67328e4c082424a93eee
2013-02-05 06:03:38 -08:00
..
account-server.conf-sample Added fallocate_reserve option 2013-01-29 20:07:26 +00:00
container-server.conf-sample Added fallocate_reserve option 2013-01-29 20:07:26 +00:00
dispersion.conf-sample Add dispersion report flags to limit reports 2012-12-09 18:20:08 -06: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 add support for custom log handlers 2012-10-05 15:56:34 -05:00
object-server.conf-sample Added fallocate_reserve option 2013-01-29 20:07:26 +00:00
proxy-server.conf-sample Basic container quotas 2013-02-05 06:03:38 -08: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 swift constraints are now settable via config 2012-09-07 11:18:42 -07:00