Hyukjin Kwon created SPARK-62257:
------------------------------------
Summary: Pool the transport's connections by resolved address, of
each channel's own resolution and pick_first, as gRPC's subchannel pool does
Key: SPARK-62257
URL: https://issues.apache.org/jira/browse/SPARK-62257
Project: Spark
Issue Type: Improvement
Components: Connect
Affects Versions: 5.0.0
Reporter: Hyukjin Kwon
Follow-up of SPARK-62234. gRPC keys the subchannels of its pool by (address,
channel args), and each channel resolves its target and picks the first address
of its own resolution (pick_first). The transport of the Python client keys its
pool of connections by target. So after failures it re-resolves per pool rather
than per channel, and a new channel uses the shared connection whatever
addresses its own resolution returns. The counts of connections already match
grpcio (1 shared, 4 with tokens). Pool the transport's connections by resolved
address, of each channel's own resolution and pick_first, as gRPC's subchannel
pool does; until then the known differences state this exactly.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]