摘要
在基于分阶段事件驱动架构下,把企业服务总线系统按事务逻辑处理功能划分成消息监听、协议解析、消息转换、消息路由、消息发送五个阶段.系统在运行过程中,由中央调度器对各个阶段的负载信息进行收集.本文根据均值方差分析,对各个阶段的线程池大小进行动态调整,使得每个阶段的处理事务能力协调关联起来,从而避免出现由于某个阶段负载过重而影响整个系统的性能.
The Enterprise Service Bus system which is based on Stage Event-Driven Architecture is divided into five stages according to the logic processing functions: message listener, protocol analysis, message exchange, message route and message send. During the system running, the central scheduler collects states of these stages' information. This research adjusts thread pool size of each stage dynamically based on the mean-variance analysis, then all stages' task processing ability are associated, which can avoid some stages' heavily burden that may affects the performance of entire system.
出处
《计算机系统应用》
2013年第12期66-69,共4页
Computer Systems & Applications
基金
国家水体污染控制与治理科技重大专项(2012ZX07505)