apache/dubbo

[Proposal] Refactor the writeQueue in Triple, use tcp channel for flush

Aperta

#11.929 aperta il 26 mar 2023

 (1 commento) (0 reazioni) (1 assegnatario)Java (26.453 fork)batch import
help wantedtype/proposal

Metriche repository

Star
 (41.524 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor