Commit graph

7 commits

Author SHA1 Message Date
f22519cef7
[#1636] qos: Add semaphore limiter
All checks were successful
DCO action / DCO (pull_request) Successful in 38s
Vulncheck / Vulncheck (pull_request) Successful in 58s
Build / Build Components (pull_request) Successful in 1m25s
Pre-commit hooks / Pre-commit (pull_request) Successful in 1m29s
Tests and linters / Run gofumpt (pull_request) Successful in 2m11s
Tests and linters / Tests (pull_request) Successful in 2m19s
Tests and linters / Lint (pull_request) Successful in 2m27s
Tests and linters / Staticcheck (pull_request) Successful in 2m44s
Tests and linters / gopls check (pull_request) Successful in 3m3s
Tests and linters / Tests with -race (pull_request) Successful in 4m40s
If no tags specified, then limiter could be optimized to use atomic semaphore.

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2025-02-14 10:36:47 +03:00
9c866e7c2f
[#1636] qos: Return Resource Exhausted error
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2025-02-14 10:36:42 +03:00
b78cf55d1f
[#1636] shard: Add limiter usage
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2025-02-14 10:36:22 +03:00
2ca5ec44cd
[#1636] qos: Add Limiter
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2025-02-14 10:36:17 +03:00
15482f4ae9
[#1636] config: Add shard.limits config
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2025-02-14 10:36:06 +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