Skip to content

How to use UCX in multiple processes #7589

Discussion options

You must be logged in to vote

@hanzhihua112

UCX does not support handling connection request from child process. Probably something from below can meet your requrements:

  1. create new worker in scope of the same process (it could be separate thread) and handle connection request and messaging there
  2. another pair of endpoints for communication between client and child-server:
    • create connection on listen process (accept connection request)
    • create child process with separate UCX context/worker
    • exchange worker addresses using origin server
    • close origin connections
    • create another pair of endpoints (on client and server-child) connected to each other by worker address

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by shamisp
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants