摘要
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)