We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我们的场景需要创建比较多的Stream,为了提升性能和稳定性,想给baidu_rpc 增加一次RPC批量创建多个stream的能力,目前的想法是StreamCreate,StreamAccept都支持传入StreamIds,同时Controller里_request_stream和_response_stream也都改成数组。其他的接口保持不变,streaming_rpc_meta.proto里会增加一个批量的StreamSettings,协议保持兼容(新旧版本可以共用)。最近准备开发了,想问下社区有什么建议吗?
The text was updated successfully, but these errors were encountered:
新服务端不知道客户端是怎么建流的,所以只能用批量的StreamAccept了吧?
Sorry, something went wrong.
对,按传过来的StreamIds的顺序批量accept,返回streamID顺序也会传入的StreamID对应
如何在rpc的实现方法里,等待 stream 关闭后再返回response呢
Successfully merging a pull request may close this issue.
我们的场景需要创建比较多的Stream,为了提升性能和稳定性,想给baidu_rpc 增加一次RPC批量创建多个stream的能力,目前的想法是StreamCreate,StreamAccept都支持传入StreamIds,同时Controller里_request_stream和_response_stream也都改成数组。其他的接口保持不变,streaming_rpc_meta.proto里会增加一个批量的StreamSettings,协议保持兼容(新旧版本可以共用)。最近准备开发了,想问下社区有什么建议吗?
The text was updated successfully, but these errors were encountered: