apache/dubbo

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

Aberta

#11.929 aberto em 26 de mar. de 2023

 (1 comentário) (0 reação) (1 responsável)Java (26.453 forks)batch import
help wantedtype/proposal

Métricas do repositório

Stars
 (41.524 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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

Guia do colaborador