74 Star 357 Fork 215

GVPopenEuler / A-Tune

 / 详情

grpc同步调用问题

已完成
需求
创建于  
2021-03-26 15:31

我想请问一个问题:
A-tune的grpc调用是同步的吗?就是客户端在等待结果的时候是阻塞等待的是吗?然后服务端好像也是只能服务一个服务?比如我在tunning时,就不能train了?(由于条件限制,只在单机模式下测试)
我的理解有错吗?

评论 (2)

AiChu 创建了需求
AiChu 关联仓库设置为openEuler/A-Tune
展开全部操作日志

Hey aichu1121, Welcome to openEuler Community.
All of the projects in openEuler Community are maintained by @openeuler-ci-bot.
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md to find the details.

@AiChu,感谢提问,grpc的调用就是一个远程的rpc调用,rpc调用本身就是同步的。多个rpc是可以同时调用的,因为有些rpc调用之间存在不一致性,所以我们加了同步锁,例如执行tuning会修改操作系统配置,analysis也会修改操作系统配置,所以这两个命令不能同时执行。

hanxinke 任务状态新建 修改为已完成

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(3)
5329419 openeuler ci bot 1632792936
Go
1
https://gitee.com/openeuler/A-Tune.git
git@gitee.com:openeuler/A-Tune.git
openeuler
A-Tune
A-Tune

搜索帮助