apache/dubbo
Voir sur GitHub[Proposal] Refactor the writeQueue in Triple, use tcp channel for flush
Open
#11 929 ouverte le 26 mars 2023
help wantedtype/proposal
Métriques du dépôt
- Stars
- (41 524 stars)
- Métriques de merge PR
- (Merge moyen 7j 14h) (20 PRs mergées en 30 j)
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