首页 | 本学科首页   官方微博 | 高级检索  
     

异步接口模式及其应用
引用本文:何华海,丁柯.异步接口模式及其应用[J].计算机科学,2002,29(12):177-180.
作者姓名:何华海  丁柯
作者单位:中国科学院软件研究所计算机科学重点实验室,软件工程技术中心,北京,100080
基金项目:国家自然科学基金(69833030),国家973基金(G1999035807)
摘    要:1.引言随着Internet的飞速发展,计算机硬件在性能上不断提高,新的数字设备和便携装置不断涌现并以惊人的速度互连。在这种网络分布式环境下,人们对性能、可靠性、互连性、可扩展性等方面提出了更高的要求,这使得网络分布式软件越来越复杂,开发周期越来越长。传统的分析方法和工具已经难以适应网络分布式软件的开发。设计模式能有效地减缓开发网络分布式系统所面临的压力。在分析和设计软件系统的过程中,某些问题带有普遍

关 键 词:异步接口模式  软件体系结构  通信接口  计算机

Asynchronous API Pattern and its Application
Abstract: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.
Keywords:Design pattern  Synchronism/Asynchronism  Concurrency  Message queue
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机科学》浏览原始摘要信息
点击此处可从《计算机科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号