-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for anonymous in-process servers. #8589
Merged
Merged
Commits on Oct 11, 2021
-
Add support for anonymous in-process servers.
Anonymous servers aren't registered statically, meaning they can't be referenced by name. Only the InProcessSocketAddress, fetched via Server.getListenSockets() can be used to connect to the server. This is particularly useful for production Android usage of in-process servers, where process startup latency is crucial, since a custom name resolver can be used to create the server instance on demand without directly impacting the startup latency of in-process gRPC clients. This approach supports a more-standard approach to "OnDeviceServer" referenced in gRFC L73. https://github.com/grpc/proposal/blob/master/L73-java-binderchannel.md#ondeviceserver
Configuration menu - View commit details
-
Copy full SHA for babfb2b - Browse repository at this point
Copy the full SHA babfb2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 28fc525 - Browse repository at this point
Copy the full SHA 28fc525View commit details -
Configuration menu - View commit details
-
Copy full SHA for 361c9f8 - Browse repository at this point
Copy the full SHA 361c9f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for df89d02 - Browse repository at this point
Copy the full SHA df89d02View commit details
Commits on Oct 14, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 026113a - Browse repository at this point
Copy the full SHA 026113aView commit details
Commits on Oct 21, 2021
-
Created a new AnonymousInProcessSocketAddress class which is distinct from the existing InProcessSocketAddress. This simplifies the server builder API since we can have forAddress() instead of anonymous(), and removes the need for InProcessSocketAddress to handle anonymous servers, which had some tricy implications like getName() returning null.
Configuration menu - View commit details
-
Copy full SHA for ad8adb3 - Browse repository at this point
Copy the full SHA ad8adb3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 619902f - Browse repository at this point
Copy the full SHA 619902fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 506b46e - Browse repository at this point
Copy the full SHA 506b46eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ac409d - Browse repository at this point
Copy the full SHA 4ac409dView commit details
Commits on Oct 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 4d5a1e3 - Browse repository at this point
Copy the full SHA 4d5a1e3View commit details
Commits on Oct 25, 2021
-
Configuration menu - View commit details
-
Copy full SHA for fc61151 - Browse repository at this point
Copy the full SHA fc61151View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.