wwbmmm commented on issue #2120: URL: https://github.com/apache/brpc/issues/2120#issuecomment-1425713937
> > 请问一下这一块是需要在哪里进行修改呢,我理解这一层在自定义协议是没法完成的,因为自定义协议的接口都是基于IOBuf,理论上是否是需要修改OnNewMessages这个函数的实现,例如申请一块连续内存,然后通过append_user_data保证接收端接收到的内存是连续的?这个问题的背景是因为在高性能计算的场景下,向量化的计算需要保证内存是连续的,现在其实多了一层内存拷贝的开销,这在大数据量的场景下其实有比较大的性能损耗 可能需要大改,包括IOBuf、Socket、InputMessenger、协议 -- 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]
