Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Java thin: reduced memory usage by avoiding extra buffer copy.
-
Release Notes Required
Description
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
Attachments
Issue Links
- is caused by
-
IGNITE-13496 Java thin: Use non-blocking socket IO
- Resolved
- links to