ok2c commented on PR #578:
URL: 
https://github.com/apache/httpcomponents-core/pull/578#issuecomment-3559813738

   @rschmitt Thank you so much for such an informative summary. Please convey 
my gratitude to Aleksey.
   
   One thing bugs me is how big is big? How big should be byte buffers to 
justify pooling? If it is a couple of MB, then memory pooling may be useful in 
our case.
   
   > Here, "special lifecycle" refers to things like finalizers, Cleaners, weak 
references, etc.; nothing that would apply to a simple byte buffer.
   
   I think we have objects with "special lifecycle" in the HttpClient Caching 
module only but they are backed by files and not byte buffers. There is nothing 
else I can think of.
   
   However, I imagine the classic on async facade may actually qualify as a 
potential beneficiary of the pooled memory allocator, so I am leaning towards 
approving this change-set and letting @arturobernalg proceed with further 
experiments.
   
   What do you think?
   
   
   
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to