Files
seaweedFS/weed/s3api
石昌林 78b3728169 add s3 circuit breaker support for 'simultaneous request count' and 'simultaneous request bytes' limitations
configure s3 circuit breaker by 'command_s3_circuitbreaker.go':
usage eg:
# Configure the number of simultaneous global (current s3api node) requests
s3.circuit.breaker -global -type count -actions Write -values 1000 -apply

# Configure the number of simultaneous requests for bucket x read and write
s3.circuit.breaker -buckets -type count -actions Read,Write -values 1000 -apply

# Configure the total bytes of simultaneous requests for bucket write
s3.circuit.breaker -buckets -type bytes -actions Write -values 100MiB -apply

# Disable circuit breaker config of bucket 'x'
s3.circuit.breaker -buckets x -enable false -apply

# Delete circuit breaker config of bucket 'x'
s3.circuit.breaker -buckets x -delete -apply
2022-06-15 21:07:55 +08:00
..
2020-09-20 16:00:01 -07:00
2018-07-18 02:37:09 -07:00
2022-03-29 19:21:09 +05:00
2022-05-03 07:18:34 -07:00
2022-03-23 01:03:51 -07:00
2018-07-18 02:37:09 -07:00
2020-02-26 16:52:57 -08:00
2021-06-10 21:50:21 -07:00
2022-06-08 13:25:13 +05:00
2021-10-11 15:03:56 +05:00
2021-06-10 21:50:21 -07:00
2022-06-07 14:43:10 +05:00
2022-02-26 22:44:26 +08:00
2022-05-15 21:31:29 -07:00
2021-06-10 21:50:21 -07:00
2021-11-08 17:47:56 -08:00
2021-10-20 19:12:00 +05:00
2021-10-20 19:40:22 +05:00

see https://blog.aqwari.net/xml-schema-go/

1. go get aqwari.net/xml/cmd/xsdgen
2. xsdgen -o s3api_xsd_generated.go -pkg s3api AmazonS3.xsd