Hi,
I'm using arrow flight to transfer data in distributed system, but
the lightning speed makes both client and server faces out of memory
issue.
For do_put and do_exchange method, the protocol provides stream
metadata reader/writer for client/server exchange control messages
along data stream.
But do_get only returns a FlightDataStream without any extra
control message can be used to communicate with each other.
Also, the returned FlightDataStream is unaware of client
canceling, while java has a cancel callback.
My solution is to use do_exchange to replace do_get for client
download data, or is there any better way to implement that?
--
---------------------
Best Regards,
Wenbo Hu,