日誌 - tacoball 的日誌
 訂閱 tacoball 的日誌

2009/03/17
Message Oriented Middleware

作者: tacoball (15:10:36)
最近在看MOM的資料
http://en.wikipedia.org/wiki/Message_Oriented_Middleware

在一個架構環境中,MOM通常會用在哪裡呢?我想應該是用在不需要即時response的系統上,但是又要確實的往後端傳遞的資訊吧。

電子商務中,會用在訂單資料上嗎?
我想應該不會,除非是用在沒有庫存限制的地方。
要不然message經過遞送萬一在過程中發生庫存數不足的情況就糟了。
有庫存的行為應該是在同步的狀態下進行。
正如同wiki頁面說的

參照:
In addition, many inter-application communications have an intrinsically synchronous aspect, with the sender specifically wanting to wait for a reply before continuing (see real-time computing and near-real-time for extreme cases). Because message-based communication inherently functions asynchronously, it may not fit well in such situations. That said, most MOM systems have facilities to group a request and a response as a single pseudo-synchronous transaction

雖然可以搞很多MOM system來讓系統接近同步,但畢竟是假的XD

所以這種非同步的東西也許用在log或是mining data collection應該是不錯的選擇,嗯嗯。
閱讀 tacoball 的日誌 | 迴響 (0) | 引用次數 (0) | 瀏覽次數 (2317)
列印這一篇日誌 發送這篇日誌給你的朋友(Email)
網友個人意見,不代表本站立場,對於發言內容,由發表者自負責任。
發表評論
評論規則*
任何人都可以發表評論
標題*
姓名*
信箱*
網站*
內容*
確認碼*
1 + 9 = ?  
輸入運算式的結果
您最多可以嘗試:10 次

日誌月曆

        

會員登入

小老虎成長中

小小龍成長中

搜尋




JUMP to TOP - 12.05.2024 -