You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/radosgw/adminops.rst
+18-11Lines changed: 18 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2072,8 +2072,9 @@ as mentioned in Set Bucket Quota section above.
2072
2072
Rate Limit
2073
2073
==========
2074
2074
2075
-
The Admin Operations API enables you to set and get ratelimit configurations on users and on bucket and global rate limit configurations. See `Rate Limit Management`_ for additional details.
2076
-
Rate Limit includes the maximum number of operations and/or bytes per minute, separated by read and/or write, to a bucket and/or by a user and the maximum storage size in megabytes.
2075
+
The Admin Operations API enables you to set and get ratelimit configurations on users and on bucket and global rate limit configurations. See `Rate Limit Management`_ for additional details.
2076
+
Rate Limit includes the maximum number of operations and/or bytes per accumulation interval, separated by read and/or write (Additionally list and get operations),
2077
+
to a bucket and/or by a user and the maximum storage size in megabytes.
2077
2078
2078
2079
To view rate limit, the user must have a ``ratelimit=read`` capability. To set,
2079
2080
modify or disable a ratelimit, the user must have ``ratelimit=write`` capability.
@@ -2087,16 +2088,22 @@ Valid parameters for quotas include:
2087
2088
- **User:** The ``uid`` option allows you to specify a rate limit for a user.
2088
2089
2089
2090
- **Maximum Read Bytes:** The ``max-read-bytes`` setting allows you to specify
2090
-
the maximum number of read bytes per minute. A 0 value disables this setting.
2091
+
the maximum number of read bytes per accumulation interval. A 0 value disables this setting.
2091
2092
2092
2093
- **Maximum Write Bytes:** The ``max-write-bytes`` setting allows you to specify
2093
-
the maximum number of write bytes per minute. A 0 value disables this setting.
2094
+
the maximum number of write bytes per accumulation interval. A 0 value disables this setting.
2094
2095
2095
2096
- **Maximum Read Ops:** The ``max-read-ops`` setting allows you to specify
2096
-
the maximum number of read ops per minute. A 0 value disables this setting.
2097
+
the maximum number of read ops per accumulation interval. A 0 value disables this setting.
2097
2098
2098
2099
- **Maximum Write Ops:** The ``max-write-ops`` setting allows you to specify
2099
-
the maximum number of write ops per minute. A 0 value disables this setting.
2100
+
the maximum number of write ops per accumulation interval. A 0 value disables this setting.
2101
+
2102
+
- **Maximum List Ops:** The ``max-list-ops`` setting allows you to specify
2103
+
the maximum number of bucket listing requests per accumulation interval. A 0 value disables this setting.
2104
+
2105
+
- **Maximum Delete Ops:** The ``max-delete-ops`` setting allows you to specify
2106
+
the maximum number of delete operations per accumulation interval. A 0 value disables throttling.
2100
2107
2101
2108
- **Global:** The ``global`` option allows you to specify a global rate limit.
2102
2109
The value should be either 'True' or 'False'.
@@ -2123,7 +2130,7 @@ Set User Rate Limit
2123
2130
To set a rate limit, the user must have ``ratelimit`` capability set with ``write``
2124
2131
permission. ::
2125
2132
2126
-
POST /{admin}/ratelimit?ratelimit-scope=user&uid=<uid><[&max-read-bytes=<bytes>][&max-write-bytes=<bytes>][&max-read-ops=<ops>][&max-write-ops=<ops>][enabled=<True|False>]>
2133
+
POST /{admin}/ratelimit?ratelimit-scope=user&uid=<uid><[&max-read-bytes=<bytes>][&max-write-bytes=<bytes>][&max-read-ops=<ops>][&max-write-ops=<ops>][&max-list-ops=<ops>][&max-delete-ops=<ops>][&enabled=<True|False>]>
2127
2134
2128
2135
2129
2136
@@ -2143,7 +2150,7 @@ Set Rate Limit for an Individual Bucket
2143
2150
To set a rate limit, the user must have ``ratelimit`` capability set with ``write``
2144
2151
permission. ::
2145
2152
2146
-
POST /{admin}/ratelimit?bucket=<bucket-name>&ratelimit-scope=bucket<[&max-read-bytes=<bytes>][&max-write-bytes=<bytes>][&max-read-ops=<ops>][&max-write-ops=<ops>]>
2153
+
POST /{admin}/ratelimit?bucket=<bucket-name>&ratelimit-scope=bucket<[&max-read-bytes=<bytes>][&max-write-bytes=<bytes>][&max-read-ops=<ops>][&max-write-ops=<ops>][&max-list-ops=<ops>][&max-delete-ops=<ops>][&enabled=<True|False>]>
2147
2154
2148
2155
2149
2156
@@ -2163,7 +2170,7 @@ Set Global User Rate Limit
2163
2170
To set a rate limit, the user must have ``ratelimit`` capability set with ``write``
2164
2171
permission. ::
2165
2172
2166
-
POST /{admin}/ratelimit?ratelimit-scope=user&global=<True|False><[&max-read-bytes=<bytes>][&max-write-bytes=<bytes>][&max-read-ops=<ops>][&max-write-ops=<ops>][enabled=<True|False>]>
2173
+
POST /{admin}/ratelimit?ratelimit-scope=user&global=<True|False><[&max-read-bytes=<bytes>][&max-write-bytes=<bytes>][&max-read-ops=<ops>][&max-write-ops=<ops>][&max-list-ops=<ops>][&max-delete-ops=<ops>][&enabled=<True|False>]>
2167
2174
2168
2175
2169
2176
@@ -2173,7 +2180,7 @@ Set Global Rate Limit Bucket
2173
2180
To set a rate limit, the user must have ``ratelimit`` capability set with ``write``
2174
2181
permission. ::
2175
2182
2176
-
POST /{admin}/ratelimit?ratelimit-scope=bucket&global=<True|False><[&max-read-bytes=<bytes>][&max-write-bytes=<bytes>][&max-read-ops=<ops>][&max-write-ops=<ops>]>
2183
+
POST /{admin}/ratelimit?ratelimit-scope=bucket&global=<True|False><[&max-read-bytes=<bytes>][&max-write-bytes=<bytes>][&max-read-ops=<ops>][&max-write-ops=<ops>][&max-list-ops=<ops>][&max-delete-ops=<ops>][&enabled=<True|False>]>
2177
2184
2178
2185
2179
2186
@@ -2183,7 +2190,7 @@ Set Global Anonymous User Rate Limit
2183
2190
To set a rate limit, the user must have ``ratelimit`` capability set with ``write``
2184
2191
permission. ::
2185
2192
2186
-
POST /{admin}/ratelimit?ratelimit-scope=anon&global=<True|False><[&max-read-bytes=<bytes>][&max-write-bytes=<bytes>][&max-read-ops=<ops>][&max-write-ops=<ops>][enabled=<True|False>]>
2193
+
POST /{admin}/ratelimit?ratelimit-scope=anon&global=<True|False><[&max-read-bytes=<bytes>][&max-write-bytes=<bytes>][&max-read-ops=<ops>][&max-write-ops=<ops>][&max-list-ops=<ops>][&max-delete-ops=<ops>][&enabled=<True|False>]>
0 commit comments