Skip to content

In a multisession setting, can the connection between main session and a worker session break? #738

Discussion options

You must be logged in to vote

In multisession mode, ... Can the connection be broken between sessions, such that a future is unable to resolve, but the worker session stays running but incapable of receiving new tasks?

Yes, multisession and cluster futures rely on PSOCK cluster of the parallel package, and as you say, rely on socket connections between the main R processes and the parallel workers.

  1. how likely is this type of situation?

The socket connection between the main R session and a parallel worker itself should be stable as long as the network connection between the two does not go down. Since multisession runs parallel workers on the local machine, it should be unlikely that such a connection becomes br…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@david-vicente
Comment options

Answer selected by david-vicente
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
2 participants