apache/dubbo
[Proposal] Refactor the writeQueue in Triple, use tcp channel for flush
Ouverte
#11 929 ouverte le 26 mars 2023
help wantedtype/proposal
Métriques du dépôt
- Stars
- (41 524 étoiles)
- Métriques de merge PR
- (Métriques PR en attente)
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