apache/dubbo

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

Open

#11.929 geöffnet am 26. März 2023

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (1 zugewiesene Person)Java (26.453 Forks)batch import
help wantedtype/proposal

Repository-Metriken

Stars
 (41.524 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 7T 14h) (20 gemergte PRs in 30 T)

Beschreibung

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

Contributor Guide