guangpec1 commented on issue #1035: 在一个服务中使用两个Task Control 是否会有影响?
URL: https://github.com/apache/incubator-brpc/issues/1035#issuecomment-604169887
@cdjingit 上面的方案,我们经过实践验证是可行,多谢.
This is an automated message from the Apache
guangpec1 commented on issue #1035: 在一个服务中使用两个Task Control 是否会有影响?
URL: https://github.com/apache/incubator-brpc/issues/1035#issuecomment-579781687
好的,多谢 @cdjingit @jamesge
This is an automated message from the Apache Git
guangpec1 commented on issue #1035: 在一个服务中使用两个Task Control 是否会有影响?
URL: https://github.com/apache/incubator-brpc/issues/1035#issuecomment-576510871
主要将计算的部分拆分出来,主要是业务架构的需要. 比如说既有重调度的任务,又有重计算的任务. 将重计算和调度分开成两个Task Control.
降低互相影响. @cdjingit
guangpec1 commented on issue #1035: 在一个服务中使用两个Task Control 是否会有影响?
URL: https://github.com/apache/incubator-brpc/issues/1035#issuecomment-576208924
戈神,我们自己内部实现了,现在测试还没有发现问题,我详细描述一下场景. 建立两个 Task Control 分别是 T1 和 T2. T1
中处理网络请求,然后T1将“算力较大”的部分发给 T2, T1 发给T2的只是function和arg, T2 执行funciton