针对组件快速恢复、减少开销的需求,本文在利用中间件和组件固有元信息的基础上,提出了一种由中间件管理的轾量级组件恢复机制。根据动态建立和维护的组件间失效依赖关系,中间件自动地确定需要恢复的组件的有效集合。有针对地执行恢复操作。在Web应用服务器中的实现及实验结果表明,该机制有效地减少了不必要的开销,提高了恢复效率。
To satisfy the requirements of fast recovery of components and reduce the cost, a kind of lightweight component recovery mechanism managed by middleware is presented based on making use of the intrinsic meta-information of the middleware and components. According to the failure dependency of components that are established at runtime, it can automatically determines the reasonable set of components which need recovery, and orderly executes the recovery operations. The implementations and experiments on web application server show that the mechanism can reduce the useless cost and improve the recovery efficiency.