You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Tupitsyn (Jira)" <ji...@apache.org> on 2021/11/25 08:47:00 UTC

[jira] [Assigned] (IGNITE-13804) Java thin: avoid buffer copies in synchronous operations

     [ https://issues.apache.org/jira/browse/IGNITE-13804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavel Tupitsyn reassigned IGNITE-13804:
---------------------------------------

    Assignee: Pavel Tupitsyn

> 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
>            Assignee: Pavel Tupitsyn
>            Priority: Minor
>
> {{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.20.1#820001)