[
https://issues.apache.org/jira/browse/IGNITE-13804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Amelchev Nikita updated IGNITE-13804:
-------------------------------------
Ignite Flags: Release Notes Required
> 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
> Fix For: 2.13
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> {{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)