apache/dubbo

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

Open

#11.929 aperta il 26 mar 2023

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

Metriche repository

Star
 (41.524 star)
Metriche merge PR
 (Merge medio 7g 14h) (20 PR mergiate in 30 g)

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