当前位置:网站首页>[Yugong series] June 2022 Net architecture class 079 cluster principle of distributed middleware schedulemaster

[Yugong series] June 2022 Net architecture class 079 cluster principle of distributed middleware schedulemaster

2022-06-11 15:46:00 Yugong moving code


One 、ScheduleMaster The principle of clustering

When worker1 Downtime , The task will automatically switch to worker2 Run above ,

When worker2 Downtime , The task will automatically switch to worker1 Run above , Mainly rely on what to do ? The core : Health detection , Fail over

1、 Enter into Hos.ScheduleMaster.Web In the project , find SystemSchedulerRegistry class
 Insert picture description here
2、 then SystemSchedulerRegistry find WorkerCheckJob class

internal class WorkerCheckJob : IJob
    { 
    
        /// <summary>
        ///  Implementation plan 
        /// </summary>
原网站

版权声明
本文为[Yugong moving code]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/162/202206111535495511.html