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 2020/12/02 16:02:00 UTC
[jira] [Created] (IGNITE-13804) Java thin: avoid buffer copies in
synchronous operations
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)