You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Maxim Muzafarov (JIRA)" <ji...@apache.org> on 2018/12/10 10:56:00 UTC
[jira] [Created] (IGNITE-10619) Add support for
ReadableByteChannel, WritableByteChannel over CommunicationSpi
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)