yanglimingcn commented on issue #3102:
URL: https://github.com/apache/brpc/issues/3102#issuecomment-3337068115

   > > attachment,在接收端,你希望直接用显存来接收吗?
   > 
   > 是的,attachment其实就是训练过程所需要的一些数据,因此我们希望直接从一台机器的显存传输到另一台机器的显存上。
   
   现在brpc协议,meta部分的长度不固定,感觉不太好搞,这种我觉得自定义一个协议会比较好,比如:
   1、头部长度在消息里面,可以直接截取消息头。
   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