下面这三个短句是说MSMQ的优点的,谁能给我解释一下。谢谢。

zengjd 2009-03-16 03:32:06
下面这三个短句是说MSMQ的优点的,谁能给我解释一下。谢谢。
(不是翻译成中文)

1、Internet store-and-forward messaging.
2、Transactional messaging with exactly once message delivery guarantee.
3、Cluster-based storage for high availability.
...全文
101 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
CsdnPlayer 2009-04-30
  • 打赏
  • 举报
回复
[Quote=引用楼主 zengjd 的帖子:]
下面这三个短句是说MSMQ的优点的,谁能给我解释一下。谢谢。
(不是翻译成中文)

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.

3> Cluster-based storage,还是一种通用的技术-_-!但是不仅限用于Message Serving领域。如果你知道什么是Cluster,就不需要我多解释一个字了。如果不知道什么是cluster,去看这里:
http://en.wikipedia.org/wiki/Computer_cluster
MSMQ和很多其他服务一样,可以跑在Cluster环境中。



CsdnPlayer 2009-04-30
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 wuyi8808 的回复:]
MSMQ?
[/Quote]

MSMQ: Microsoft Message Queuing. 微软提供的一种企业级消息服务中间件。
zengjd 2009-03-16
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 wuyi8808 的回复:]
MSMQ?
[/Quote]
怎么了?
wuyi8808 2009-03-16
  • 打赏
  • 举报
回复
MSMQ?

110,534

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧