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 2021/09/14 08:57:14 UTC

[GitHub] [incubator-brpc] Aaaaaaron opened a new issue #1556: brpc streaming 自动切分大消息讨论/ brpc streaming auto cutting big message

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


   **Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)**
   brpc streaming
   
   **Describe the solution you'd like (描述你期望的解决方法)**
   需求可以简化为send 端如何切分, 接收端如何合并回来
   1. 做在协议层
   2. 在 iobuffer 上切分
   
   **Describe alternatives you've considered (描述你想到的折衷方案)**
   
   
   **Additional context/screenshots (更多上下文/截图)**
   
   


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


[GitHub] [incubator-brpc] Aaaaaaron commented on issue #1556: brpc streaming 自动切分大消息讨论/ brpc streaming auto cutting big message

Posted by GitBox <gi...@apache.org>.
Aaaaaaron commented on issue #1556:
URL: https://github.com/apache/incubator-brpc/issues/1556#issuecomment-940049745


   @chenzhangyi 是的 has_continuation, 但是可能要考虑同一个 stream 上并发消息的切分, 可能会有乱序, 这个场景需要考虑吗
   这个字段很早就有了 改两行就 ok 了 但是一直没实现 是有啥顾虑吗


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


[GitHub] [incubator-brpc] Aaaaaaron commented on issue #1556: brpc streaming 自动切分大消息讨论/ brpc streaming auto cutting big message

Posted by GitBox <gi...@apache.org>.
Aaaaaaron commented on issue #1556:
URL: https://github.com/apache/incubator-brpc/issues/1556#issuecomment-940050259


   > 目前的实现还没有自动切割过大的消息,同一个tcp连接上的多个Stream之间可能有Head-of-line blocking问题,请尽量避免过大的单个消息,实现自动切割后我们会告知并更新文档。
   这个是 streaming 文档里的说法


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


[GitHub] [incubator-brpc] chenzhangyi commented on issue #1556: brpc streaming 自动切分大消息讨论/ brpc streaming auto cutting big message

Posted by GitBox <gi...@apache.org>.
chenzhangyi commented on issue #1556:
URL: https://github.com/apache/incubator-brpc/issues/1556#issuecomment-919793261


   协议里面是有一个[字段](https://github.com/apache/incubator-brpc/blob/c09ae0ef9b9cc6e67d6c70500c7ba30e5878e136/src/brpc/streaming_rpc_meta.proto#L42) 处理这个的,实现一下就好了


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