cisaacson opened a new issue, #47083:
URL: https://github.com/apache/arrow/issues/47083

   ### Describe the usage question you have. Please include as many useful 
details as  possible.
   
   
   We are using the [Rust] `FlightServiceClient` for Arrow Flight SQL, and we 
want to load balance among a number of back end Flight SQL Servers. I see that 
`tonic` supports a `balance_list` for rotating across a list of endpoints.  
There is also `ginepro` which makes the same approach even more robust (all 
fitting within `tonic`s API).
   
   My question is this:
   
   If we use the `FlightServiceClient` to connect to a list of server 
instances, and a we call `execute_query` and then successive `get_next_batch` 
calls, will all these calls be to the same endpoint connection? The server has 
to keep track of the stream of results for each query, so this is a requirement 
for it to work.
   
   If it will not keep the same service endpoint, seems like we will have to 
implement our own sticky logic on top of this? That should be feasible, I just 
wanted to get advice on the best approach.
   
   ### Component(s)
   
   FlightRPC


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to