chrislu
|
ec30a504ba
|
refactor
|
2024-09-29 10:38:22 -07:00 |
|
chrislu
|
701abbb9df
|
add IsResourceHeavy() to command interface
|
2024-09-28 20:23:01 -07:00 |
|
chrislu
|
26dbc6c905
|
move to https://github.com/seaweedfs/seaweedfs
|
2022-07-29 00:17:28 -07:00 |
|
石昌林
|
9e036df356
|
remove go.uber.org/atomic
|
2022-06-20 12:35:29 +08:00 |
|
石昌林
|
3dd60529c5
|
some code optimizations
|
2022-06-17 19:07:39 +08:00 |
|
石昌林
|
37df209195
|
add some unit tests and some code optimizes
|
2022-06-17 17:11:18 +08:00 |
|
石昌林
|
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 |
|