-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
v0.60.0 pulls in 300kLOC of additional dependencies #1283
Comments
@mohanli-ml is there anything we can do here to lower the complexity of dependencies? |
Can this resolver registration be moved to the site of an actual client?, or even better the program making use of our client? It seems like the bulk of the deps are related to pulling in a lot of the envoy project. |
This import Direct path depends on xDS. To enable direct path, the library will need to pull in the xDS dependencies (including the xDS protos from the envoy project). Is it OK for cloud libraries to not have direct path capability by default, and ask users to enable direct path? |
Also if the decision is to move the xds dependency from the google-api-go-client repo to service repo (like bigtable-go, spanner-go), I want to know if we should also do this for other languages? |
@mohanli-ml I think that it should at least be moved there. But I wonder if a better pattern would be to, through docs, tell users to add the registration import themselves. Then all users of spanner and bigtable don't have to pay the cost of these deps. I am not sure what the semantics look like in other languages, but if something similar could be done there I don't think that would be a bad idea. |
It seems a little strange to me that client libraries would have code that requires an import (using the "google-c2p" resolver scheme), but doesn't actually do the import itself. And, it doesn't detect this scenario and fall back, either. Maybe, instead of (or in addition to?) checking the gRPC version, it should look up the resolver and use it only if it is found? I.e. |
I will have another PR to remove the google-c2p dependence in google-api-go-client after the PR to add them to bigtable/spanner gets merged. |
…nner (#5090) According to discussion in googleapis/google-api-go-client#1283, we plan to move the google-c2p dependence to bigtable/spanner, which are services that will use DirectPath. feat(bigtable): add google-c2p dependence feat(spanner): add google-c2p dependence
Remove google-c2p dependency to the entire google-api-go-client. Instead, services using DirectPath should add the dependency by itself, like googleapis/google-cloud-go#5090. Issue: #1283
…nner (googleapis#5090) According to discussion in googleapis/google-api-go-client#1283, we plan to move the google-c2p dependence to bigtable/spanner, which are services that will use DirectPath. feat(bigtable): add google-c2p dependence feat(spanner): add google-c2p dependence
This should have been addressed in a recent release. Closing. |
googleapis/google-api-go-client#1283 is fixed. Change-Id: Iaf1db4891043508ff41347e7c6fcfe341423c773 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/629341 Reviewed-by: Bruno Dal Bo <[email protected]> Fuchsia-Auto-Submit: Tamir Duberstein <[email protected]> Commit-Queue: Auto-Submit <[email protected]>
…nner (#5090) According to discussion in googleapis/google-api-go-client#1283, we plan to move the google-c2p dependence to bigtable/spanner, which are services that will use DirectPath. feat(bigtable): add google-c2p dependence feat(spanner): add google-c2p dependence
aa0f0be added a dependency on google.golang.org/grpc/xds which pulls in a lot of code.
It should be possible to upgrade past v0.60.0 without taking on all this bloat.
The text was updated successfully, but these errors were encountered: