The Capacity Distribution Algorithm is a capacity based distribution algorithm.
A capacity based distribution algorithm distributes entries in proportion to the partition free space ratio. That is, if at a given time, one partition has a 60% free space while another has a 40% free space, then the first partition will receive 60% of the ADD requests while the second partition will receive 40% of the ADD requests. Note that operation types other than the ADD requests are routed using either the GIC or the broadcast.
The Capacity Distribution Algorithm component inherits from the Distribution Algorithm
A description of each property follows.
Basic Properties: | Advanced Properties: |
---|---|
↓ alert-threshold | ↓ free-space-check-period |
↓ java-class |
Description | The threshold that triggers an alert notification when the overall free space in the partitions is too small. The value of the alert threshold is a normalized value between 0% and 100%. When the ratio of free space in all the partitions is lower than the threshold then an alert notification is sent. The default value for the threshold is 0 (this means that an alert is sent when all the partitions are full). |
---|---|
Default Value | 0 |
Allowed Values | An integer value. Lower value is 0. Upper value is 100 . |
Multi-valued | No |
Required | No |
Admin Action Required | None |
Advanced Property | No |
Read-only | No |
Description | The period of time between two checks of the partition free space. Regularly, the capacity based distribution algorithm checks the free space in each partition. When the overall partition usage hits the alert threshold then an alert is sent. When all the partitions are full an alert is sent too. This property determines the amount of time, in milliseconds, between two checks. By default, the check period is 1 hour (3600000 ms). |
---|---|
Default Value | 3600000 |
Allowed Values | An integer value. Lower value is 0. |
Multi-valued | No |
Required | No |
Admin Action Required | None |
Advanced Property | Yes |
Read-only | No |
Description | Specifies the fully-qualified name of the Java class that provides the Capacity Distribution Algorithm implementation. |
---|---|
Default Value | com.sun.dps.server.workflowelement.distribution.CapacityDistributionAlgorithm |
Allowed Values | A java class that implements or extends the class(es) : com.sun.dps.server.workflowelement.distribution.DistributionAlgorithm |
Multi-valued | No |
Required | Yes |
Admin Action Required | None |
Advanced Property | Yes |
Read-only | No |