-
Notifications
You must be signed in to change notification settings - Fork 58
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
chore: remove pooled transport #1035
Conversation
transport_str = f"pooled_grpc_asyncio_{pool_size}" | ||
transport = PooledBigtableGrpcAsyncIOTransport.with_fixed_size(pool_size) | ||
BigtableClientMeta._transport_registry[transport_str] = transport | ||
if "pool_size" in kwargs: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could someone create a client with BigtableDataClientAsync("project-id", 3)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we discussed this offline, but the __init__()
function includes a *
, meaning only key-word arguments are allowed
Remove grpc channel pooling functionality.
After some benchmarking, we found pooling provided little benefit in python, and it added significant complexity
Also removing the two submodules from this repo, as we no longer have any gapic changes that need to be pushed upstream