This chapter explains the parameters that can be configured for the FioranoMQ Dispatcher which is used for dispatching incoming connections for load-balancing purposes. These are the various parameters that are configured under the FioranoMQàFioranoàDispatcherà* tree node in the Dispatcher Profile in Offline configuration using Studio.
For more information on FioranoMQ Dispatcher, refer to Chapter 10 Dispatcher of FioranoMQ Handbook.
FioranoJobManager2
Presented below are the details for the parameters present in Fiorano->JobManager->Impl2->FioranoJobManager2->config.
MinimumJobWorkers
The MinimumJobWorkers parameter is used to specify the minimum number of job workers to be added when the server is started and remain in the system at any given point of time. This parameter can be increased or decreased depending on the load on each server.
Valid values:
The default value is for the MinimumJobWorkers parameter is 4.
The range of integer values considered valid by the MinimumJobWorkers are -2^31 to 2^31 -1.
All values less than zero retrieve the same result.
Example:
If the server is expected to handle a large number of queues/topics simultaneously, the MinimumJobWorkers parameter may be set at a higher number so as to ensure that this would not result in idle JobWorkers. Similarly, where the load of the server is expected to be little, the number can be decreased.
MaximumJobWorkers
The MaximumJobWorkers parameter allows the User to set the limit on the number of JobWorkers allowed.. The MaximumJobWorkers parameter can be increased or decreased depending on the expected load on each server.
Valid values:
The default value of the MaximumJobWorkers parameter is 40.
The range of integer values considered valid by the MaximumJobWorkers are -2^31 to 2^31 -1.
All values less than zero retrieve the same result.
Example:
Allowing unchecked addition of JobWorkers could result in too many threads of JobWorkers being created thus hampering the performance of the system. Depending on the requirements the value for number of JobWorkers allowed can be increased or decreased.
Dispatcher
Presented below are the details for are the parameters present in Fiorano->Dispatcher->config.
Name
This parameter is used to specify the name of the dispatcher.
Valid values:
The default value of the Dispatcher parameter is FioranoMQ Dispatcher.
Any String may be used as a valid value for this parameter.
PingTimeoutAttribute
The PingTimeoutAttribute parameter describes the time in milliseconds after which the server is pinged.
The dispatcher has to make sure that the server it is connected to is alive, and this is achieved through pinging the Server intermittently. This intermittent time interval is specified by this parameter.
Valid values:
The default value of the PingTimeout Attribute is 30000.
The range of integer values considered valid by the PingTimeoutAttribut are -2^31 to 2^31 -1.
All values less than zero retrieve the same result.
InitialTimeoutAttribute
The InitialTimeoutAttribute parameter describes the initial timeout in milliseconds in connecting with a server. The dispatcher will time out if it cannot connect to the server within this time.
Valid values:
The default value of the InitialTimeoutAttribute is 2000.
The range of integer values considered valid by the InitialTimeoutAttribute are -2^31 to 2^31 -1.
All values less than zero retrieve the same result.