Edit

Share via


ActivationRepartitionerOptions.MaxEdgeCount Property

Definition

The maximum number of edges to retain in-memory during a repartitioning round. An edge represents how many calls were made from one grain to another.

If this number is N, it does not mean that N activations will be migrated after a repartitioning round. It also does not mean that if any activation ranked very high, that it will rank high at the next cycle. At the most extreme case, the number of activations that will be migrated, will equal this number, so this should give you some idea as to setting a reasonable value for this.

public int MaxEdgeCount { get; set; }
member this.MaxEdgeCount : int with get, set
Public Property MaxEdgeCount As Integer

Property Value

Remarks

In order to preserve memory, the most heaviest links are recorded in a probabilistic way, so there is an inherent error associated with that. That error is inversely proportional to this value, so values under 100 are not recommended. If you notice that the system is not converging fast enough, do consider increasing this number.

Applies to