Nodes

What are Nodes?

A Node is an endpoint that accepts Jobs from a Controller and returns the output. Nodes are highly simplistic and completely dumb to the outside world. It doesn't even know the Controller exists. It's ownly function is to take incoming Jobs, process them, and return the result on the established socket.

Can Multiple Nodes be hosted on a single computer?

Of course, you can create as many Nodes on a single computer as ports/IPs you have free.

Encryption:

All communication between the Nodes and the Controller can be Encrypted by setting the property in cerbergrid.properties: cerbergrid.network.encryption
Ex. cerbergrid.network.encryption = BlowfishEncryption

If the property is commented out then there will be no encryption. The way encryption works at the moment is the value specified for encryption is prepended by com.cerbergrid.crypt and loaded into the JVM and used for the pluggable encryption scheme. Currently, the only class available for encryption is BlowfishEncryption. Future releases will contain more schemes.

Compression:

Compression can be turned on and off in cerbergrid.properties: cerbergrid.network.compression
Ex. cerbergrid.network.encryption = true or cerbergrid.network.encryption = false

Max Active Jobs:

The Max Active Jobs property of Nodes tells the Controller not to send more Jobs to a Node than the node can concurrently handle as defined in this property. A value of 10 would mean that a Node is set to only handle 10 Jobs at a time. The Jobs will not be queued up in the Node, but they will remain in the Controller available to be assigned to the next appropriate Node.

If the Max Active Jobs property is set to 0 the the Node will handle unlimited Jobs.

Active:

A Node is only recognized by the Controller if it is Active. By default the Active status is set to True.