boulder/grpc
Samantha d73125d8f6
WFE: Add custom balancer implementation which routes nonce redemption RPCs by prefix (#6618)
Assign nonce prefixes for each nonce-service by taking the first eight
characters of the the base64url encoded HMAC-SHA256 hash of the RPC
listening address using a provided key. The provided key must be same
across all boulder-wfe and nonce-service instances.
- Add a custom `grpc-go` load balancer implementation (`nonce`) which
can route nonce redemption RPC messages by matching the prefix to the
derived prefix of the nonce-service instance which created it.
- Modify the RPC client constructor to allow the operator to override
the default load balancer implementation (`round_robin`).
- Modify the `srv` RPC resolver to accept a comma separated list of
targets to be resolved.
- Remove unused nonce-service `-prefix` flag.

Fixes #6404
2023-02-03 17:52:18 -05:00
..
creds Update gRPC TLS handshake (#5968) 2022-02-24 14:23:32 -08:00
internal WFE: Add custom balancer implementation which routes nonce redemption RPCs by prefix (#6618) 2023-02-03 17:52:18 -05:00
noncebalancer WFE: Add custom balancer implementation which routes nonce redemption RPCs by prefix (#6618) 2023-02-03 17:52:18 -05:00
test_proto Update boulder-tools dependencies (#6129) 2022-05-20 14:24:01 -07:00
client.go wfe2: don't pass through client-initiated cancellation (#6608) 2023-01-26 17:26:15 -08:00
client_test.go wfe2: don't pass through client-initiated cancellation (#6608) 2023-01-26 17:26:15 -08:00
errors.go grpc: Pass data necessary for Retry-After headers in BoulderErrors (#6415) 2022-10-03 16:24:58 -07:00
errors_test.go Add interceptor for per-rpc client auth (#6488) 2022-11-07 13:47:47 -08:00
generate.go Unify protobuf generation (#5458) 2021-06-07 08:49:15 -07:00
interceptors.go wfe2: don't pass through client-initiated cancellation (#6608) 2023-01-26 17:26:15 -08:00
interceptors_test.go wfe2: don't pass through client-initiated cancellation (#6608) 2023-01-26 17:26:15 -08:00
pb-marshalling.go dependencies: Replace square/go-jose.v2 with go-jose/go-jose.v2 (#6598) 2023-01-24 12:08:30 -05:00
pb-marshalling_test.go dependencies: Replace square/go-jose.v2 with go-jose/go-jose.v2 (#6598) 2023-01-24 12:08:30 -05:00
protogen.sh Unify protobuf generation (#5458) 2021-06-07 08:49:15 -07:00
resolver.go grpc: Implement a static multiple IP address gRPC resolver (#6270) 2022-08-05 10:20:57 -07:00
resolver_test.go grpc: Implement a static multiple IP address gRPC resolver (#6270) 2022-08-05 10:20:57 -07:00
server.go wfe2: don't pass through client-initiated cancellation (#6608) 2023-01-26 17:26:15 -08:00