chenBright commented on PR #3144: URL: https://github.com/apache/brpc/pull/3144#issuecomment-6761076411
> 另一种方法为,将brpc当前的双边send/recv模式,改成单边wirte模式,大体可能这样设计: > 1)每个Channel,两个QP,一个控制QP,负责写brpc header、meta、body,一个数据QP,负责写attachment。 > 2)控制QP直接写到内存上用cpu处理,数据QP直接写到显存上供调用方用gpu处理。这就可以直接在框架上支持变长的数据了。 单边操作更合理。单边操作不会影响双边 send/recv 的数据,不用多一个 QP。 我们实现了单边操作,等这个 PR 合入后,会贡献到社区。 -- 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]
