Details
-
Improvement
-
Resolution: Fixed
-
Major
-
2.5.1
Description
Motivation
----------
When retrieving a document Bucket#get the netty buffer content is
duplicated before the parsing by Jackson.
Modifications
-------------
Wrap the ByteBuf in an inputstream. Jackson now directly parse the netty
ByteBuf content
Result
------
Reduced memory allocations
YMMV but in our test it was a ~10% reduction
Attachments
For Gerrit Dashboard: JCBC-1140 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
84255,3 | JCBC-1140: Optimize object decoding from direct byte buffers. | master | couchbase-java-client | Status: MERGED | +2 | +1 |