Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
gRPC by default limits message sizes on the wire. While Flight in turn disables these by default, they're still useful to be able to control memory consumption. A well-behaved client/server may wish to split up writes to respect these limits. However, right now, there's no way to measure the memory usage of what you're about to write without serializing it.
With ARROW-5377, we can in theory avoid this by having the writer take control of serialization, producing the IpcPayload, then measuring the size and writing the payload if the size is as desired. However, Flight doesn't provide such a low-level mechanism yet - we'd need to open that up as well.
Attachments
Issue Links
- duplicates
-
ARROW-5377 [C++] Make IpcPayload public and add GetPayloadSize
- Resolved
- requires
-
ARROW-5377 [C++] Make IpcPayload public and add GetPayloadSize
- Resolved
- links to