googleapis / googleapis/google-cloud-python
Add gRPC Channel Pools
Ouverte
priority: p3
type: feature request
- Langage dominant
- Python
- Étoiles
- 5.4k
- Forks
- 1.8k
- Merge moyen
- 3 j 4 h
- PR mergées (30 j)
- 122
Description
Individual gRPC channels are limited to [100 concurrent streams](https://cloud.google.com/bigtable/docs/connection-pools#how_connection_pools_work). This puts a cap on max throughput, which may be run up against in an asyncio application. One way to get around this is to maintain a pool of channels, and rotate requests between them.
This has been implemented in gapic in some languages (example: [go](https://github.com/googleapis/gapic-generator-go/blob/34124f14cdc18208b3bfcdf6602b3c8b25f9d21a/internal/gengapic/gengrpc.go#L268)), but not Python.
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.