Skip to content

Commit

Permalink
remove dependency on experimental gRPC API (#580)
Browse files Browse the repository at this point in the history
The custom balancer depends on experimental APIs from grpc-go.
It has since been replaced with a simple round robin balancer
that has been working well in production.

Fixes #499
  • Loading branch information
mrahs committed Jun 3, 2024
1 parent 574c71c commit 1716b7d
Show file tree
Hide file tree
Showing 16 changed files with 17 additions and 1,456 deletions.
20 changes: 0 additions & 20 deletions go/pkg/balancer/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,12 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "balancer",
srcs = [
"gcp_balancer.go",
"gcp_interceptor.go",
"gcp_picker.go",
"roundrobin.go",
],
importpath = "github.com/bazelbuild/remote-apis-sdks/go/pkg/balancer",
visibility = ["//visibility:public"],
deps = [
"//go/pkg/balancer/proto",
"@org_golang_google_grpc//:go_default_library",
"@org_golang_google_grpc//balancer",
"@org_golang_google_grpc//connectivity",
"@org_golang_google_grpc//grpclog",
"@org_golang_google_grpc//resolver",
"@org_golang_google_protobuf//encoding/protojson",
],
)

go_test(
name = "balancer_test",
srcs = ["gcp_balancer_test.go"],
embed = [":balancer"],
deps = [
"@com_github_google_uuid//:uuid",
"@org_golang_google_grpc//balancer",
"@org_golang_google_grpc//connectivity",
"@org_golang_google_grpc//resolver",
],
)
8 changes: 0 additions & 8 deletions go/pkg/balancer/README.md

This file was deleted.

331 changes: 0 additions & 331 deletions go/pkg/balancer/gcp_balancer.go

This file was deleted.

Loading

0 comments on commit 1716b7d

Please sign in to comment.