Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: Best method for maintaining a session ID across multiple threads

by BrowserUk (Pope)
on Jul 11, 2013 at 08:53 UTC ( #1043662=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Best method for maintaining a session ID across multiple threads
in thread Best method for maintaining a session ID across multiple threads

I guess I am using the term thread incorrectly

The generic term for a single instance in a cluster is 'node'.

So after more thought about it I am going to investigate writing something that can serve the sessionID to "processes" via a port.

Clustering software always has some form of message passing API that allows the processes to communicate.

A quick google suggests that GridEngine supports OpenMPI. You shouldn't need to be inventing a solution for this, just read the docs.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.


Comment on Re^3: Best method for maintaining a session ID across multiple threads
Re^4: Best method for maintaining a session ID across multiple threads
by markdibley (Sexton) on Jul 11, 2013 at 09:34 UTC

    I completely agree - I never invent a solution when there is an alternative, which is why I was asking for advice about existing solutions to the problem of maintaining a session ID. But OpenMPI appears to be an overly engineered solution for my requirements. If I had a week to learn and implement I might consider it, but thank you very much for your help and your suggestions.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1043662]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (10)
As of 2015-07-07 07:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (87 votes), past polls