期刊文献+

异步接口模式及其应用

Asynchronous API Pattern and its Application
下载PDF
导出
摘要 In distributed systems,high efficiency can be achieved using asynchronous API between client and server.This paper provides an architectural pattern that implements asynchronous API generally. Asynchronous methods donot execute operations directly,however,they delegate the sending and receiving process to individual threads via aqueue ,the client deals with results by means of callback ,wait or check. Synchronous API is implemented on the baseof asynchronous API. Presently the asynchronous API pattern has been employed in the implementation of messagequeue middleware ISMQ. In distributed systems, high efficiency can be achieved using asynchronous API between client and server. This paper provides an architectural pattern that implements asynchronous API generally. Asynchronous methods do not execute operations directly, however, they delegate the sending and receiving process to individual threads via a queue, the client deals with results by means of callback, wait or check. Synchronous API is implemented on the base of asynchronous API. Presently the asynchronous API pattern has been employed in the implementation of message queue middleware ISMQ.
作者 何华海 丁柯
出处 《计算机科学》 CSCD 北大核心 2002年第12期177-180,182,共5页 Computer Science
基金 国家自然科学基金(69833030) 国家973基金(G1999035807)
关键词 异步接口模式 软件体系结构 通信接口 计算机 Design pattern,Synchronism/Asynchronism,Concurrency,Message queue
  • 相关文献

参考文献7

  • 1Coulouris G,Dollimore J,Kindberg T.Distributed Systems: Concepts and Design.Addison-Wesley, 2000
  • 2Gamma E,Helm R,Johnson R,Vlissides J.Design Patterns: Elements of Reusable Object-Oriented Software.Addison Wesley,1995
  • 3Schmidt D C,Stal M,Rohnert H,Buschmann F.Pattern-Oriented Software Architecture, Volume 2, Patterns for Concurrent and Networked Objects.John Wiley & Sons, 2000
  • 4中国科学院软件研究所软件工程技术中心报告.消息队列中间件ISMQ的设计和实现.2000
  • 5Lavender R G,Schmidt D C.Active Object: an Object Behavioral Pattern for Concurrent Programming.in Pattern Languages of Program Design (J.O.Coplien, J.Vlissides, and N.Kerth,eds.), Addison-Wesley, 1996
  • 6Schmidt D,Cranor C.Half-Sync/Half-Async -- An Architectural Pattern for Efficient and Well-structured Concurrent I/O.In:Proc.of the 2 nd Pattern Languages of Programs conf.1995
  • 7Schmidt D C,et al.Leader/Followers: A Design Pattern for Efficient Multi-threaded Event Demultiplexing and Dispatching.In:proc.of the 7th Pattern Languages of Programs Conf.Aug.2000

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部