-
Notifications
You must be signed in to change notification settings - Fork 1
How to associate nodes with specific Commpute users
This is just a sketch of how this would work.
-
When a user creates an account, he/she receives a unique username from Commpute
-
When a user adds a computer to his/her account, he/she receives a unique name for each computer
-
When a user downloads the node program, he/she enters these things into a config file: username and computer name
-
On startup, nodes send a HTTP POST request to the Commpute server, telling it the username, computer name, and JPPF Uuid of the node. This information is stored in a database.
-
When the server wants to know where all the tasks of a job are running, it uses a JobInformationAPI method to get the node Uuids where each task is running. It then looks up the computer and user associated with that Uuid in the database.
(Uuid stands for Unique Universal Identifier)