apache/dubbo
[Proposal] Refactor the writeQueue in Triple, use tcp channel for flush
オープン
#11,929 opened on 2023/03/26
help wantedtype/proposal
Repository metrics
- Stars
- (41,524 個のスター)
- PR merge metrics
- (PR metrics pending)
説明
In the current triple protocol, writeQueue is used to encapsulate frames and perform batch operations on io. However, since we use the http2 stream channel provided by netty, we cannot simply use the parent channel for flushing, which introduces quite a lot of complexity. Spend. We hope to be able to directly use the parent channel, which is the Tcp channel, to perform the flush operation