apache / apache/arrow

[Ruby] Improve non-blocking I/O for Flight client?

Open
#48,454 3 comments 0 reactions 0 assignees View on GitHub
Component: Ruby Type: enhancement
Dominant language
C++
Stars
17.1k
Forks
4.3k
Avg merge
3d 13h
Merged PRs (30d)
88

Description

### Describe the enhancement requested

I'm trying to do multiple Flight DoGet requests in parallel Ruby Threads/Fibers and observe that `ArrowFlight::Client#do_get` doesn't yield to another Thread/Fiber until the first Arrow Record (RecordBatch) is received.

Image

Is it possible to yield more frequently, such as:
* Right after sending the request ticket?
* After each chunk in the Record (RecordBatch)?

### Component(s)

Ruby

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.