Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
As part of the work to implement SPARK-11140, it would be nice to have the network library efficiently stream data over a connection.
Currently all it has is the shuffle data protocol, which is not very efficient for large files; it requires the whole file to be buffered on the receiver side before the receiver can do anything. For large files, that comes at a huge cost in memory. You can chunk large files but that requires the client to ask for each chunk separately.
Instead, a similar approach but allowing the data to be processed as it arrives would be a lot more efficient, and make it easier to implement the file server in the referenced bug.
Attachments
Issue Links
- blocks
-
SPARK-11140 Replace file server in driver with RPC-based alternative
- Resolved
- links to