You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2022/05/13 04:10:58 UTC

[GitHub] [incubator-brpc] wwbmmm commented on issue #1511: response延迟发送

wwbmmm commented on issue #1511:
URL: https://github.com/apache/incubator-brpc/issues/1511#issuecomment-1125637917

   > 感谢回复。 之前没有描述清楚,在一台机器有多个实例,这多个实例会想其它机器上面的多个实例频繁发送消息,我想要把一段时间内发往相同机器rpc请求合并起来在同一个时间发送以减小网络负担, ![image](https://user-images.githubusercontent.com/48236141/129346471-8ddd686c-c00e-4557-82f2-598f982ad9d2.png) 像这个把a,b的请求合成c,然后c一段时间后发给d,再由d下发给下面的服务e,f,最后实现a向e发送rpc,b向f发送rpc。 原先a,b,e,f对rpc的处理涉及许多需要controller处理的地方,最后也需要调用closure->Done(),不知道要怎么处理这两个的合并。
   
   按照你的描述,a和b应该是不同的进程,如果要合并a和b的请求,那么就涉及跨进程通信了,这样或许能减少网络负担,但是增加了跨进程的开销,很可能得不偿失


-- 
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: dev-unsubscribe@brpc.apache.org

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


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