You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/05/02 19:41:51 UTC

[GitHub] [pulsar] merlimat opened a new pull request #4197: Avoid payload copy when inserting into managed ledger cache

merlimat opened a new pull request #4197: Avoid payload copy when inserting into managed ledger cache
URL: https://github.com/apache/pulsar/pull/4197
 
 
   ### Motivation
   
   After #4066, we now have a strict upper bound for the time spent in cache by entries. Since this was the principal reason to make a copy when inserting into the cache, we can now avoid that data copy and just increment the refcount on the same buffer.
   
   Leaving it as an option to fallback to the original behavior, just in case there is any unforeseen regression in behavior under particular conditions.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services