Blog Home  Sign In RSS 2.0 Atom 1.0 CDF  

  def Softwaremaker() :
         return "William Tay", "<Challenging Conventions />"

  knownType_Serialize, about = Softwaremaker()

 Monday, February 19, 2007

This is a continuation of my previous post: WS-ReliableMessaging Simplified - WHY

While this blog sits in my draft folder while I am busy solving and fire-fighting other real-world problems, I just found out that my fellow distributed and connected systems enthusiast, Matevz has penned down the WHATs and HOWs of WS-ReliableMessaging faster than me, AND with even greater details !!!

So, instead of replicating that effort, it would be better for me to do a high level post about the HOWs of WS-ReliableMessaing. The below diagram of WS-ReliableMessaging explains the sequencing really well.

WS-ReliableMessaging - HOW


Let me explain the concepts of WS-ReliableMessaging in terms of a conversation between Alice and Bob:

Alice: Let me call Bob on his mobile telephone.(CreateSequence)
(Ring Ring ... Bob Picks up the phone)
Bob: Hello ? (CreateSequenceResponse)
Alice: Hi Bob, this is Alice(CreateSequenceResponse)
Bob: Hi Alice (CreateSequenceResponse, Identifier)
Alice: I would like to have a meeting with you tomorrow at 1000 hours (MessageNumber=1)
Cool. Roger. I got that. Sure, let meet tomorrow at 1000 hours.
Alice: Can we meet at my office in North Ryde ? (MessageNumber=2)
(Bob walks into a GSM blind spot ...)

Alice: Oh yeah, and Bob, please bring those M&A files for clearance for our senior VP (MessageNumber=3)
Alice: Hello Bob, did you get that ? Please repeat. (AckRequested)
Bob: Yes, I got that you are saying that we should meet up at 1000 hours at your office. Period (SequenceAcknowledgement)
No, you are not getting the full picture. You need to bring those M&A files for clearance for our senior VP (Resend MessageNumber=3). Kindly repeat what I just said (AckRequested)
Bob: Yeah. Got it. We should meet up at 1000 hours at your office and I will bring those M&A files for clearance for our senior VP. (SequenceAcknowledgement)
Bingo. Good. Please make a reservation for 1200 hours for lunch at "Steaks by the Bay" as well. (MessageNumber=4)
(Bob's phone went dead ...)
Alice: Hello ? Bob, did you get that ? (AckRequested)
Hello ? Bob, did you get that ? (AckRequested)
Alice: Hello ? Bob, did you get that ? (AckRequested)
Alice: Hmmm. Something is wrong. Let me call Bob again. (AcknowledgementInterval is up)
(Ring Ring ... Bob Picks up the phone)
Alice: Hi Bob, this is Alice. Sorry, I think I got cut-off from the earlier call. (CreateSequence)
Bob: Hi Alice. Sorry, yeah, my fault. I pressed the wrong button (CreateSequenceResponse with prev Identifier establised)
I was wondering if you can make a reservation for 1200 hours for lunch at "Steaks by the Bay" after that 1000 meeting tomorrow. (MessageNumber=1) Please acknowledge. (AckRequested)
Bob: Sure, of course. I will make a reservation for 1200 hours for lunch at "Steaks by the Bay" (SequenceAcknowledgement)
Alice: Alright then. Lets end this phone call. See you tomorrow. Thanks and Bye. (TerminateSequence of this Identifier)
Bob: See you tomorrow, Alice. (TerminateSequenceResponse)

Of course, the above is a simplistic view and there is a lot more to WS-ReliableMessaging than what I have just illustrated above with buffers, inactivitytimeouts due to infrastructure faults, in-order deliveries, maxRetryCount, maxTransferWindowSize, etc. But you get the jizz of this picture of why InOrder, idempotent-aware ReliableMessaging is needed in complex real-world enterprise-scale distributed communications.

If you want to know the WHATS and all in better detail, do visit Matevz's post here and a continuation here.

Monday, February 19, 2007 2:57:18 AM (Malay Peninsula Standard Time, UTC+08:00)  #    Disclaimer 
  • Blog reactions

  •  Thursday, February 15, 2007

    These are just some of the tabs that can be found if you expose a Microsoft BizTalk Server 2006 R2 process via a Windows Communication Foundation (WCF, previously - Indigo) Service.


    The interesting part of the Messaging Tab of BizTalk 2006 R2 is that you are able to dictate the source of the inbound message body that you would like BizTalk to handle.

    You can specify it to be the entire <soap:Envelope> or just the <soap:Body>, which essentially strips out the <soap:Header> element from the entire envelope. The flexibility comes in when you can dictate and customize the message content via an XPath expression that you would like BizTalk to process such as: /bookstore/book[0] ...

    Thursday, February 15, 2007 7:34:21 AM (Malay Peninsula Standard Time, UTC+08:00)  #    Disclaimer 
  • Blog reactions

  •  Monday, February 12, 2007

    While there has been much talk everywhere in conferences, events, blogsphere about Web 2.0 and such, this video touched me more than anything else. It was created by Michael Wesch, the Assistant Professor of Cultural Anthropology at Kansas State University. Amazing amazing summary of Web 2.0 in just under 5 minutes.

    After you sit through this video, chances are that you will catch your breath and go "WOW" ... and play it again. To the layman, you cannot get a better implementation that forms part of the bigger picture of Web 2.0 than this recently-released piece of work by Yahoo! called Yahoo! Pipes. This concept is well-explained via O'Reilly Radar here. Of course, my famous colleague is quick to explain he came up with this concept first.

    And doesnt the background music of that video just rock ? It is by Deus and is offered under a Creative Commons Attribution NonCommercial-ShareAlike 2.0 license, which is yet another example of the interlinking of people sharing and collaborating media ...


    My good friend and extreme brain in Singapore, Wee Hyong, pointed out to me he has been working on that recently and giving a talk soon on a much related subject hereDanaїdes: Continuous and Progressive Complex Queries on RSS Feeds

    Welcome to the social.

    Monday, February 12, 2007 2:54:14 AM (Malay Peninsula Standard Time, UTC+08:00)  #    Disclaimer 
  • Blog reactions

  •  Friday, February 09, 2007

    I have been involved in a couple of pretty good competitive bids in some public tenders recently and am thoroughly enjoying it. I have come head-to-head with the usual suspects of heavy hitters in the areas of collaboration, SOA / ESB and portal plays such as IBM, Oracle and the likes.

    On another related note: Since I am in the compete space recently, I have been keeping watch on what is coming out of the standards body and I think that WS-BPEL (which was BPEL4WS ...) should have their specifications ready by next month (March 2007). Having said that, one of the points that will make Microsoft a even stronger challenger in the enterprise space is what I believe will come out of the pipelines next month is that the next version of Windows Workflow Foundation (WF) (CTP) will support BPEL 1.1.

    Moving forward, I believe that the v.Next of Orcas will support BPEL 2.0 as well as BPEL 1.1 and that will be very important in the BizTalk roadmap as well.

    Friday, February 09, 2007 2:47:07 AM (Malay Peninsula Standard Time, UTC+08:00)  #    Disclaimer 
  • Blog reactions

  •  Friday, February 02, 2007

    Windows Home Server will be one of the better well-kept secret products that will be ultra-cool once its released into the wild. You can go here for a brief animation overview. The official Home Server Team blog can be found here and the forums here.

    Some of the interesting briefs include:

    openquotes.png This is not a product based on the Windows Server 2003 codebase. It's a consumer-oriented product that is quite similar to Media Center Edition, in that it's less of an "edition" of Windows Server than it is a special application (like Media Center) that runs atop a version of Windows.closequotes.png

    There are, of course, many features on this server but what I love best about it is placed on emphasis here:

    • Expandable Drive space - Add as many Hard-Drives in gigs, teras and petas as your hardware allows. (No problem with the hard-disks I have lying around. I could easily squeeze 6 SATA suckers into this once I can find the supporting muthaboard ...)
    • Remote Access - Access your photos, music, videos from any computer with a WWW connection. Even give restricted access to your cronies through your free, customizable Live Web Site.
    • Automatic Backup - It stores only a single copy of every file, remembering which computer had what and saving your drive space - Hard Disk Storage Space Virtualization, anyone ? (this is just music to my ears ...)

    I dont know about you but my living room is ready ...

    Thursday, February 01, 2007 10:36:32 PM (Malay Peninsula Standard Time, UTC+08:00)  #    Disclaimer 
  • Blog reactions