2 Overview
This specification defines the Message Service within the Application Interface Specification
(AIS).
2.1 Message Service
The Message Service specifies a buffered message-passing system based on the
concept of a message queue for processes on the same or on different nodes1. Messages
are written to message queues and read from them. A single message queue
permits a multipoint-to-point communication. Message queues are persistent or nonpersistent.
The Message Service must preserve messages that have not yet been
consumed when the message queue is closed.
Processes sending messages to a message queue are unaware that the process
which was originally processing these messages, has been replaced by another process
acting as a standby in case the original process fails or switches over.
Message queues can be grouped together to form message queue groups. Message
queue groups permit multipoint-to-multipoint communication. They are identified by
logical names, so that a process is unaware of the number of message queues and of
the physical location of the message queues to which it is communicating. The
sender addresses message queue groups by using the same mechanisms that it
uses to address single message queues. The message queue groups can be used to
distribute messages among message queues pertaining to the message queue
group. Regardless of the number of message queues to which messages are distributed,
the message queue group remains accessible under the same name.
Message queue groups can be used to maintain transparency of the sender process
to faults in the receiver processes, represented by the message queues in the message
queue groups. The sender process communicates with the message queue
group. If a receiver process fails, the sender process continues to communicate with
the message queue group and is unaware of the fault, because it continues to obtain
service from the other receiver processes.
With message queues, the Message Service uses the model of n senders to 1
receiver whereas with message
'기타' 카테고리의 다른 글
이벤트 처리 기능 요약 (10) | 2013.06.11 |
---|---|
알림 기능 요약 (10) | 2013.06.11 |
[EDW519] 실제 공개되는 오픈소스중 코드의 양은 얼마나 되는가? (437) | 2012.10.31 |
[EDW519] 월드클래스(?) 프로그래머의 업무 가이드라인 (456) | 2012.08.31 |
[EDW519] 최고의 개발자는 이런사람 (448) | 2012.08.24 |