Commit graph

7 commits

Author SHA1 Message Date
865c919bda
[#1636] qos: Add semaphore limiter
All checks were successful
DCO action / DCO (pull_request) Successful in 44s
Vulncheck / Vulncheck (pull_request) Successful in 51s
Pre-commit hooks / Pre-commit (pull_request) Successful in 1m23s
Build / Build Components (pull_request) Successful in 1m23s
Tests and linters / Run gofumpt (pull_request) Successful in 2m6s
Tests and linters / Lint (pull_request) Successful in 2m25s
Tests and linters / Staticcheck (pull_request) Successful in 2m34s
Tests and linters / Tests (pull_request) Successful in 3m3s
Tests and linters / Tests with -race (pull_request) Successful in 3m46s
Tests and linters / gopls check (pull_request) Successful in 3m47s
If no tags specified, then limiter could be optimized to use atomic semaphore.

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2025-02-19 14:46:11 +03:00
f3db601f40
[#1636] qos: Return Resource Exhausted error
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2025-02-19 14:46:10 +03:00
d3ef5d9cf6
[#1636] shard: Add limiter usage
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2025-02-19 14:46:08 +03:00
39a79456e9
[#1636] qos: Add Limiter
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2025-02-19 14:46:08 +03:00
6bca89ff11
[#1636] config: Add shard.limits config
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2025-02-19 14:46:07 +03:00
acec938b2d
[#1608] qos: Add client grpc interceptors
`qos` client interceptors replace internal IO tags `writecache`,
`policer` and `background` with `internal` IO tag for outcomming RPC.

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2025-02-07 15:43:04 +03:00
12da2f8262
[#1608] object: Add IO tag adjustment layer
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2025-02-07 15:43:03 +03:00