-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
feat: use multiple gRPC channels using connection pool #5466
Comments
Give the limitation in the Python library, I'm not sure if this feature can be implemented. |
Should we go all the way and migrate to |
wrap the golang client in Python? |
I'm not sure about the packing and version conflicts. This would make it harder for the user to depend on something other than python. Let's think about improving the client-go library and verify if there are major improvements. If not then let's stick with the plain python library. |
@jina-ai/product This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 14 days |
Describe the feature
Using a single channel for all gRPC requests can become a performance bottleneck and a single point of failure in the cloud environment. Network issues are the most common root cause in the cloud. Using multiple connections will reduce the impact if one connection is facing issues. Recreating connections periodically will help to avoid intermittent network issues.
References:
Your proposal
A potential implementation might be available in the google-cloud-python library. A custom solution is required since gRPC Python doesn't have the support yet.
Environment
Screenshots
The text was updated successfully, but these errors were encountered: