SONiC Orchagent 基于事件的重试.pdf

编号:1011674 PDF 22页 1.56MB 下载积分:VIP专享
下载报告请您先登录!

SONiC Orchagent 基于事件的重试.pdf

1、Retry Logic OptimizationYijiao Qin Alibaba CloudWorkflow to install BGP routesConstraintsProblem Statement-too many pending entriesImpact on Retry ProcessProposal-separate those not readyOptimized retry processOffload to Retry CacheRestore to SyncMap Constraint Representation1.Determine which types

2、of constraints need special handling.2.Represent a specific cst by a pair of predefined type and value.e.g.(CST_NEXT_HOP_GROUP,“1”)2.2.Extend the constraint types per requirementsenum ConstraintType RETRY_CST_NHG,/nhg doesnt exist RETRY_CST_NHG_REF,/nhg refcnt nonzero RETRY_CST_ECMP /ecmp resources

3、exhausted;Failed Task Representation1.Determine when to move a failed task to Retry Cache.p.s.Without affecting original logic flow for other features.2.Store the constraint information into Retry Cache.Efficiency Requirement1.Failed tasks are stored in retry cache safely.-Should not be forgotten or

4、 left in the retry cache forever-Can be restored back to SyncMap2.Retry cache can be queried and cleared efficiently.-Assistant internal maps and sets are used.In-time Notification1.Pay attention to when the constraints could be satisfied.2.Notifications of cst resolution should be sent to Retry Cac

5、he immediately.RetryMap Data StructureRetryKeysMapSet of Resolved ConstraintsGlobal SyncMap Retry Process-Check all resolved constraints-Move all related tasks back to SyncMap-Clear unreferenced constraints-If a task is actually blocked by several constraints-Only one cst is handle at a timePreproce

6、ssing on New TasksCheck tasks in RetryMap with the same key as the new task:One Found1.discard the new,if same as the one in RetryMap2.if DEL,delete the one in RetryMap3.if SET,move the old task from RetryMap to SyncMap for later mergeTwo F

友情提示

1、下载报告失败解决办法
2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
4、本站报告下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。

本文(SONiC Orchagent 基于事件的重试.pdf)为本站 (明日何其多) 主动上传,三个皮匠报告文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知三个皮匠报告文库(点击联系客服),我们立即给予删除!

温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。
客服
商务合作
小程序
服务号
折叠