1、Internet store-and-forward messaging.
2、Transactional messaging with exactly once message delivery guarantee.
3、Cluster-based storage for high availability.
...全文
1014打赏收藏
下面这三个短句是说MSMQ的优点的,谁能给我解释一下。谢谢。
下面这三个短句是说MSMQ的优点的,谁能给我解释一下。谢谢。 (不是翻译成中文) 1、Internet store-and-forward messaging. 2、Transactional messaging with exactly once message delivery guarantee. 3、Cluster-based storage for high availability.
1、Internet store-and-forward messaging.
2、Transactional messaging with exactly once message delivery guarantee.
3、Cluster-based storage for high availability.
[/Quote]
1> store-and-forward是一种在Message Serving领域中通用的技术。(啥技术不技术的,反正就是一种达到某种目的的方法。比如你能用鼻子辨别香臭味,就是一种极为高精尖的技术。)
简单来讲,就是在发送消息的那一方和接受消息的那一方之间,还有个第三者。发送方要把消息发送接收方,这个消息可以通过那个第三者来传递,并且在第三者上临时保存。倘若接收方is ready for receving,那就把消息给它就是;倘若接收方目前不方便receving(比如机器正在重起),那就第三者store一下啦。等接收方ready后,再forward给它啦。
MSMQ如何实现这个功能?outgoing queue。你的application貌似已经完成发送任务,而消息很可能在outgoing queue里暂存着,直到接收方能够接收。
2> Exactly once message delivery quarantee又是一种在Message Serving领域中通用的技术。(这个世界怎么到处是技术?我会骑自行车,行而不倒,是不是一项决定高超的技术?)
In short, 就是保证你发送的这个message,在接收方那边只会存在一份。什么个意思呢?请看英文解释:
In a sender transaction, the sender does the following: receives a message from a sender queue; generates a substantially unique identifier and an expiration time for the message; and, saves the identifier, the expiration time, and the message in a sender database. The sender then sends the identifier, the expiration time, and the message to the receiver. In a receiver transaction, the receiver then does the following: receives the identifier, the expiration time, and the message from a receiver queue; determines whether the message has expired based on the expiration time and determines whether the message is present in a receiver database by its identifier; and, upon determining that the message has not expired and is not present in the receiver database, stores the message in the receiver database, and performs actions associated with the message.