liupc commented on issue #23602: [SPARK-26674][CORE]Consolidate CompositeByteBuf when reading large frame URL: https://github.com/apache/spark/pull/23602#issuecomment-458838311 @srowen Thanks for suggestion, currently, It's just a thought, without much sense on the tradeoff, Seems the memory saved is decided by the readable size of socket and the memory allocation strategy(default `AdaptiveRecvByteBufAllocator`), I will try to do some benchmark tests to give some data about the tradeoff if possible. Seems it's the only place the `CompositeByteBuf` is used.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
