Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add request_id framework to support arkouda_proxy_server #2721

Closed
hokiegeek2 opened this issue Aug 28, 2023 · 0 comments · Fixed by #2742
Closed

Add request_id framework to support arkouda_proxy_server #2721

hokiegeek2 opened this issue Aug 28, 2023 · 0 comments · Fixed by #2742
Assignees
Labels
enhancement New feature or request

Comments

@hokiegeek2
Copy link
Contributor

Feature Description
The arkouda_proxy_server is currently under development to support asynchronous Arkouda requests where an Arkouda command will be submitted and, instead of the command result, a request_id will be returned. A capability is needed whereby the client can submit requests to the arkouda_proxy_server to check the status of a request.

The request_id generation, handling, and reporting framework will be added to the arkouda client module and consists of the following:

  1. request_id generation: a randomized 32-character alphanumeric string
  2. RequestMode enum indicating whether the request is sync or async
  3. RequestStatus enum to provide controlled vocabulary for asynchronous request
  4. get_request_status: method that queries the arkouda_proxy_server to check the status of the corresponding Arkouda request

In addition, request_id handling will be added to the arkouda-contrib GrpcChannel class hierarchy.

Additional context
The request_id handling capability supports multiuser Arkouda use cases by providing a non-blocking client-server communication pattern.

The get_request_status method will be noop for the default ZmqChannel.

@hokiegeek2 hokiegeek2 added the enhancement New feature or request label Aug 28, 2023
@hokiegeek2 hokiegeek2 self-assigned this Aug 28, 2023
hokiegeek2 added a commit to hokiegeek2/arkouda that referenced this issue Aug 28, 2023
hokiegeek2 added a commit to hokiegeek2/arkouda that referenced this issue Aug 28, 2023
hokiegeek2 added a commit to hokiegeek2/arkouda that referenced this issue Aug 29, 2023
github-merge-queue bot pushed a commit that referenced this issue Aug 31, 2023
* incremental checkin #2721

* fixed mypy and flake8 errors #2721

* moved logic to arkouda-contrib GrpcChannel #2721

* added request_id framework to Channel and stubbed out ZmqChannel #2721
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant