dwh110 commented on issue #3398:
URL: https://github.com/apache/brpc/issues/3398#issuecomment-5034924961

   > > 数据读写免拷贝,一次请求的应答过程中,只有两次拷贝(发送端用户数据->共享内存、接收端共享内存->用户数据)
   > 
   > 1. 没有特别理解,这里说免 copy,但是后面说有两次 copy。那这个不算 zero copy 吧?
   > 2. 对于 attachment 数据,也需要 copy 到共享内存吗?
   1、这里的免拷贝指的是用户的数据作为输入,从在RPC框架内一直到收端接收的全流程过程中是免拷贝的;
   2、attachment的数据也是直接写入到共享内存的


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