guocanwen opened a new issue #1424:
URL: https://github.com/apache/incubator-brpc/issues/1424


   我们业务场景是一个server端,多个client。每个请求约2-5MB,这些请求的数据类似flatbuffer的数据,可以直接使用。
   现在的问题是server端机器的内存带宽已经被打爆了,需要减少rpc内部的数据copy。
   但是使用protobuf 里面的message {bytes data};或者attachment都需要有内存copy(server 
端iobuf会拆成多个地址不连续的block,需要调用iobuf.fetch才能使用)。
   在brpc中有什么方法能够避免这次内存copy吗?我试着调大DEFAULT_BLOCK_SIZE,但是有时候还是会出现多个block的现象


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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org
For additional commands, e-mail: dev-h...@brpc.apache.org

Reply via email to