frostfs-api-go/rpc
Evgenii Stratonikov 1473fa588f
All checks were successful
Tests and linters / Tests (1.19) (pull_request) Successful in 48s
DCO action / DCO (pull_request) Successful in 44s
Tests and linters / Tests (1.20) (pull_request) Successful in 1m2s
Tests and linters / Tests with -race (pull_request) Successful in 1m9s
Tests and linters / Lint (pull_request) Successful in 1m29s
[#98] rpc: Accept interface in place of ClientConn
gRPC client load-balancing API is ugly as f:
1. It is configured by pre-registering a balancer and the providing JSON
   configuration.
2. It doesn't allow different credentials for different endpoints
   (consider using "insecure" localhost and external endpoint).
3. To support frostfs usecase we also need to implement a resolver,
   which has its own difficulties.
4. https://github.com/grpc/grpc-go/issues/239#issuecomment-264548415

Using interface in place of grpc.ClientConn allows us to provide custom
implentation for it (load-balancing, circuit breaker etc.).

Refs TrueCloudLab/frostfs-node#1268

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-08-01 08:50:24 +03:00
..
client [#98] rpc: Accept interface in place of ClientConn 2024-08-01 08:50:24 +03:00
common Rename package name 2023-03-07 13:42:36 +03:00
grpc [#28] Replace interface{} with any 2023-05-15 17:25:04 +03:00
message [#49] message/test: Add test for zero-alloc StableSize() 2023-07-26 18:32:17 +03:00
accounting.go Rename package name 2023-03-07 13:42:36 +03:00
apemanager.go [#81] rpc: Fix apemanager rpc service name 2024-05-06 14:46:54 +03:00
common.go [#81] rpc: Fix apemanager rpc service name 2024-05-06 14:46:54 +03:00
container.go [#95] *: Regenerate proto files 2024-07-26 10:24:25 +03:00
netmap.go Rename package name 2023-03-07 13:42:36 +03:00
object.go [#94] rpc: Introduce ObjectService.Patch method 2024-07-29 08:55:14 +00:00
session.go Rename package name 2023-03-07 13:42:36 +03:00