[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