Plugin BackgroundTaskLoadBalancingPlugin

Guidewire provides the BackgroundTaskLoadBalancingPlugin plugin to manage the dynamic load balancing of long-running tasks such as startable services or message destinations. You access the plugin configuration in Studio at the following location:

  • configuration > config > Plugins > registry > BackgroundTaskLoadBalancingPlugin
In the base configuration, Guidewire provides the following default implementation class for the BackgroundTaskLoadBalancingPlugin plugin:
  • gw.api.system.cluster.DefaultBackgroundTaskLoadBalancingPlugin

This class implements the BackgroundTaskLoadBalancingPlugin interface. It is possible to modify the implementation of the default Gosu plugin class to meet your business needs.

In the base configuration, Guidewire sets the following Mode plugin parameters.
Name Value
startablePluginLoadBalancingMode notransfer
messageDestinationLoadBalancingMode notransfer
messageProcessorsLoadBalancingMode dynamic

Possible Mode values

Each of the Mode plugin parameters can take one of the following values.

Value

Description

disabled

Disables both the work acquisition and work stealing strategies.

dynamic

Enables both the work acquisition and work stealing strategies.

notransfer

Enables the work acquisition strategy only.