apache/dubbo
View on GitHub[Proposal] Refactor the writeQueue in Triple, use tcp channel for flush
Open
#11,929 opened on Mar 26, 2023
help wantedtype/proposal
Repository metrics
- Stars
- (41,524 stars)
- PR merge metrics
- (Avg merge 7d 14h) (20 merged PRs in 30d)
Description
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