摘要: 在支持移动客户发布/订阅系统中,针对持久订阅者事件恢复存在事件丢失、时间较长的问题,提出一种快速的持久订阅事件恢复算法。该算法利用事件转发提取命令,重新传播订阅并入提取缓存事件,并对缓存事件转发进行优化。分析和实验结果表明,该算法能保证事件完整性,缩短事件恢复时间,缩小消息转发范围。
关键词:
发布/订阅,
持久订阅,
漫游,
事件恢复
Abstract: In Pub/Sub(P/S) system that supports mobile clients, aiming at event loss and high time cost in durable subscription events recover, this paper proposes a fast durable subscription event recover algorithm. The algorithm imposes forwards events fetching command and integrates respread and resubscription into buffered events fetching, optimizes buffered events forwarding. Algorithmic analyses and experimental result show the algorithm guartees the integrality of event, decreases the events recover time, and reduces the range of messages forwarding.
Key words:
Pub/Sub(P/S),
durable subscription,
roaming,
event recover
中图分类号:
陈 勤;邹志兵;张 旻;刘 昊. 一种快速的持久订阅事件恢复算法[J]. 计算机工程, 2009, 35(13): 277-279.
CHEN Qin; ZOU Zhi-bing; ZHANG Min; LIU Hao. Fast Durable Subscription Event Recover Algorithm[J]. Computer Engineering, 2009, 35(13): 277-279.