Yang Li: Service Fabric Cluster Resource Manager

1,734 views · Published 14 August 2018 · 43:57 · Indexed 22 September 2026

Channel: Microsoft Developer · 2018 · Science & Technology

Watch on YouTube

The Service Fabric Cluster Resource Manager (CRM, not to be confused with Customer Relationship Management) is responsible for optimizing the placement and load balancing (PLB, not to be confused with network load balancing) of nodes inside a cluster. This is the part of Service Fabric where Simulated Annealing is done to optimize and balance the "heat" distribution among nodes (so, no node does too little work (cold) nor too much work (hot) - balance is important - it's really Zen). You first heard about our use of a metallurgical algorithm during the Gopal interview. 

Check out the Simulated Annealing algorithm as implemented by Yang and co:
https://github.com/Microsoft/service-fabric/blob/master/src/prod/src/Reliability/LoadBalancing/Searcher.cpp#L1453

Check out Yang's code:
https://github.com/Microsoft/service-fabric/tree/master/src/prod/src/Reliability/LoadBalancing

More from this channel