[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Created] (ARROW-2759) Timeout for `get_next_notification()` in Plasma

Siyuan Zhuang created ARROW-2759:

             Summary: Timeout for `get_next_notification()` in Plasma
                 Key: ARROW-2759
                 URL: https://issues.apache.org/jira/browse/ARROW-2759
             Project: Apache Arrow
          Issue Type: Improvement
          Components: Plasma (C++), Python
            Reporter: Siyuan Zhuang

Currently, I am implementing an async interface for Ray. The implementation needs some kind of message polling methods like `get_next_notification`.
Unfortunately, I find  `get_next_notification` in `https://github.com/apache/arrow/blob/master/python/pyarrow/_plasma.pyx` blocking, which is an impediment to implementing async utilities. So I suggest adding some parameters like `timeout`. It could be done by operating its underlying socket.

This message was sent by Atlassian JIRA