grpc / grpc/grpc-java

Proposal: Remove mutable / immutable handler registry distinction

Open
#4,600 2 comments 0 reactions 1 assignee Claimed by @ejona86 View on GitHub
Dominant language
Java
Stars
12.1k
Forks
4k
Avg merge
2d 17h
Merged PRs (30d)
37

Description

I'd like to float the idea of removing the mutable / immutable service registry distinction on `io.grpc.Server`, as I feel it is an unnecessary distinction. As far as I can tell, the sole purpose was a performance concern, but this shouldn't have bearing on the API surface. The methods to get it are Experimental, and only seem to be used for reflection. I believe reflection can still be efficient without knowing the difference.

This is not the same as the "fallback" registry, which is stable API, and IMO is a better distinction than mutable / immutable.

Thoughts @ejona86 ?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.