ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maxim Muzafarov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-10619) Add support for ReadableByteChannel, WritableByteChannel over CommunicationSpi
Date Mon, 10 Dec 2018 10:56:00 GMT
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)

Mime
View raw message