ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Tupitsyn (Jira)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-13804) Java thin: avoid buffer copies in synchronous operations
Date Wed, 02 Dec 2020 16:02:00 GMT
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)

Mime
View raw message