Skip to content

Async reporting from the server to the client #4577

Open

Description

@vasslitvinov

Feature Description

An Arkouda user may want to be aware of things happening asynchronously to the execution of their python code. For example:

  • The server completed X% of the computation.
  • The server crashed.
  • Automatic / asynchronous checkpointing encountered errors.

Example Behavior

What will this look like?

A simple solution is to have the client print messages using print() or print(file=sys.stderr). This is a good starting point. A downside is that such an async message may garble the desired output. How well will this work in a notebook setting?

Implementation

We could use threading on the Python side. Communication-wise we could use something like ServerStatusDaemon with a dedicated port, or ZMQ subscriptions if we want to keep it to a single port.

Activity

  1. added
    enhancement
    on Jun 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions