Skip to content

go.mod: upgrade gRPC #134971

Closed
Closed
@tbg

Description

@tbg

We should upgrade gRPC. There are a number of perf improvements, for example:

codec: Implement a new Codec which uses buffer recycling for encoded message (#7356)
introduce a mem package to facilitate buffer reuse (#7432)
client: Improve RPC performance by reducing work while holding a lock (#7132)
*: Allow building without x/net/trace by using grpcnotrace to enable dead code elimination (#6954)
rand: improve performance and simplify implementation of grpcrand by adopting math/rand's top-level functions for go version 1.21.0 and newer. (#6925)
grpc: skip compression of empty messages as an optimization (#6842)
orca: use atomic pointer to improve performance in server metrics recorder (#6799)
client & server: Add experimental [With]SharedWriteBuffer to improve performance by reducing allocations when sending RPC messages. (Disabled by default.) (#6309)
server: improve stream handler goroutine worker allocation when NumStreamWorkers is used (#6004)

Jira issue: CRDB-44320
Epic: CRDB-43584

Metadata

Metadata

Assignees

Labels

A-server-networkingPertains to network addressing,routing,initializationC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-kvKV Team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions