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

Improve Communication between LustreFileCreationCheckTask and Pushgateway Client #21

Open
gabrieleiannetti opened this issue Sep 27, 2023 · 0 comments

Comments

@gabrieleiannetti
Copy link
Contributor

gabrieleiannetti commented Sep 27, 2023

LustreFileCreationCheckTask just sends asynchronous task result to Pushgateway Client without getting an answer back. So the task cannot determine if the Pushgateway Client received the result.

The Communication BaseHandler class could be extended with a pair of methods for synchronized message exchange wrapping the underlying calls to recv+send and send+recv calls e.g.

  • task.sync_send()
  1. send()
  2. recv()
  • pushgateway_client.sync_recv()
  1. recv()
  2. send()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant