优化状态机中的等待
Optimizing Waiting Thresholds Within A State Machine
摘要:
Azure(Microsoft提供的云服务)由称为节点的物理计算单元组成。这些节点由称为结构控制器(FC)的软件组件控制,该软件组件可以将节点视为处于许多不同状态之一,例如就绪、不健康、引导等。这些状态中的一些状态对应于节点对FC请求无响应。当某个节点在超过设定阈值的时间内无响应时,FC会进行干预并重新启动该节点。通过拟合各种重尾概率分布,最小化了节点切换到不健康状态时由干预阈值引起的停机时间。我们考虑使用节点的功能来自定义有机恢复模型,以适应运行不正常的各个节点。这种回归方法允许我们使用有关节点的信息,如硬件,软件版本,历史性能指标等,以通知有机恢复模型,从而确定最佳阈值。在另一个方向上,我们考虑将其推广到节点状态机(或马尔可夫链)内的任意数量的阈值。当状态以不同阈值开始相互影响的方式交织在一起时,我们不能简单地孤立地优化每个状态。为了获得最佳结果,我们必须将其视为多变量(阈值数量)的优化问题。对于这个更复杂的问题,我们不再有一个很好的封闭形式的解决方案,就像我们用一个阈值一样,但是我们仍然可以使用数值技术(梯度下降)来解决它。
英文摘要:
Azure (the cloud service provided by Microsoft) is composed of physical computing units which are called nodes. These nodes are controlled by a software component called Fabric Controller (FC), which can consider the nodes to be in one of many different states such as Ready, Unhealthy, Booting, etc. Some of these states correspond to a node being unresponsive to FCs requests. When a node goes unresponsive for more than a set threshold, FC intervenes and reboots the node. We minimized the downtime caused by the intervention threshold when a node switches to the Unhealthy state by fitting various heavy-tail probability distributions. We consider using features of the node to customize the organic recovery model to the individual nodes that go unhealthy. This regression approach allows us to use information about the node like hardware, software versions, historical performance indicators, etc. to inform the organic recovery model and hence the optimal threshold. In another direction, we consider generalizing this to an arbitrary number of thresholds within the node state machine (or Markov chain). When the states become intertwined in ways that different thresholds start affecting each other, we can't simply optimize each of them in isolation. For best results, we must consider this as an optimization problem in many variables (the number of thresholds). We no longer have a nice closed form solution for this more complex problem like we did with one threshold, but we can still use numerical techniques (gradient descent) to solve it.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。