计算机应用 ›› 2011, Vol. 31 ›› Issue (02): 562-564.

• 典型应用 • 上一篇    下一篇

遗留系统并行架构的设计与实现

罗丹1,周波2   

  1. 1. 浙江大学计算机学院
    2. 浙江大学
  • 收稿日期:2010-07-30 修回日期:2010-09-16 发布日期:2011-02-01 出版日期:2011-02-01
  • 通讯作者: 罗丹

Design and implementation of parallel architecture for legacy system

  • Received:2010-07-30 Revised:2010-09-16 Online:2011-02-01 Published:2011-02-01

摘要: 面向服务的体系架构(SOA)为遗留系统的再工程提供了解决方案,使得遗留系统可以支持分布式应用环境,但是由于技术的陈旧和架构的局限性,无法支持多线程、并行处理以及内存泄露等问题依旧在部分遗留系统中存在,极大地限制了它们的应用。为了解决这几个问题,通过深入分析研究Windows 通信基础(WCF)的通信机制,提出了一种并行架构,对WCF的基本架构进行了改造,即在默认的体系架构中添加一层服务控制器,用来在客户端和服务端之间传递消息和选择服务,很好地解决了这几个问题,并在某大型金融软件中得到了应用。

关键词: 遗留系统, 并行, Windows通信基础, 内存泄露

Abstract: Service-Oriented Architecture (SOA) provides a solution for reengineering legacy systems to support distributed application environment. But due to the limitation of technology and architecture involved, issues such as nonsupport of a multithreaded environment, memory leaking, non-support of parallel environment still exist in some parts of the legacy systems, which restrict their applications immensely. Through analyzing and doing research on the communication mechanism of Windows Communication Foundation (WCF), a parallel architecture was proposed to solve these problems. The architecture improved the default architecture of WCF by adding a service controller to it, which could deliver message between the client and the server and selected service for clients. The proposed architecture has already solved these problems and been applied in a large financial system.

Key words: legacy system, parallel, Windows Communication Foundation (WCF), memory leaking