[Java] improve Flight DoPut busy wait
未關閉
Type: enhancement
- 主要語言
- Java
- 星號
- 94
- 分支
- 152
- 平均合併
- 3 天 16 小時
- 30 天內合併 PR
- 11
描述
Currently the implementation of putNext in FlightClient.java busy-waits until gRPC indicates that the server can receive a message. We should either improve the busy-wait (e.g. add sleep times), or rethink the API and make it non-blocking.
**Reporter**: [David Li](https://issues.apache.org/jira/browse/ARROW-4484) / @lidavidm
**Note**: *This issue was originally created as [ARROW-4484](https://issues.apache.org/jira/browse/ARROW-4484). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*
貢獻指南
研究方向
閱讀 FlightClient.java 中的 putNext,並追蹤它如何等待 gRPC 表示伺服器可以接收訊息。確定範圍是改進忙碌等待,還是將 API 修改為非阻塞。完成的標準是,所選方案消除了回報的忙碌等待問題,同時不會讓 API 行為處於未定義狀態。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- grpc, java
- 領域
- api, performance
- Issue 類型
- 重構
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100