Pavel Tupitsyn created IGNITE-13804:
---------------------------------------

             Summary: Java thin: avoid buffer copies in synchronous operations
                 Key: IGNITE-13804
                 URL: https://issues.apache.org/jira/browse/IGNITE-13804
             Project: Ignite
          Issue Type: Improvement
          Components: thin client
            Reporter: Pavel Tupitsyn


{{org.apache.ignite.internal.client.thin.TcpClientChannel#send}} creates a 
buffer copy, because the buffer will be returned to the pool upon leaving the 
scope, but we need it to survive longer while NIO framework processes it.

However, for synchronous requests we block the thread anyway, so an extra copy 
can be avoided. See discussion in 
[#8483|https://github.com/apache/ignite/pull/8483#discussion_r533915757]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to