Maxim Muzafarov created IGNITE-10619:
----------------------------------------
Summary: Add support for ReadableByteChannel, WritableByteChannel over CommunicationSpi
Key: IGNITE-10619
URL:
https://issues.apache.org/jira/browse/IGNITE-10619 Project: Ignite
Issue Type: Sub-task
Reporter: Maxim Muzafarov
Assignee: Maxim Muzafarov
To benefit from zero copy we must delegate the file transferring to FileChannel#transferTo(long, long, java.nio.channels.WritableByteChannel) because the fast path of transferTo method is only executed if the destination buffer inherits from an internal JDK class.
The {{CommunicationSpi}} needs to support pipe connections between two nodes;
* The WritableByteChannel needs to be accessed on the supplier side;
* The ReadableByteChannel needs to be read on the demander side;
* The CommunicationListener must be extended to respond on new incoming pipe connections;
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)