×

Message state maintenance at a message log

  • US 7,945,819 B2
  • Filed: 11/03/2008
  • Issued: 05/17/2011
  • Est. Priority Date: 11/16/2007
  • Status: Active Grant
First Claim
Patent Images

1. In a componentized messaging system including a sending computer system with a message log, a second different receiving computer system with a cursor, and a computer network, wherein the sending computer system and the receiving computer system are connected to the network, the componentized message system for delivering messages from a message producer to a message consumer, the message log for capturing messages for delivery to the message consumer, the cursor maintaining message state for the message consumer such that message consumer state is maintained separate from the sending computer system, a method for maintaining message log state, the method comprising:

  • an act of a computing system receiving a first message from the message producer that is to be stored in the message log, wherein the computing system includes one or more processor;

    an act of the computing system assigning a sequence number for the first message;

    an act of the computing system indicating in the message log that a write status of the first message is in doubt without making a first portion of the message log corresponding to assigned sequence numbers of messages having write status in doubt visible to a cursor, comprising;

    partitioning the message log into at least the first portion of the message log corresponding to the assigned sequence numbers of messages having write status in doubt and a second portion of the message log corresponding to sequence numbers of messages having write status not in doubt; and

    withholding visibility of the first portion of the message log from the cursor;

    an act of the computing system attempting to write the first message to the message log;

    an act of the computing system indicating the success or failure of writing the first message to the message log, wherein success results in the assigned sequence number corresponding to the first message within the message log, and wherein failure results in the assigned sequence number not corresponding to any message within the message log;

    an act of the computing system updating the write status of the first message to successful or failed based on the indicated success or failure of writing the first message to the message log respectively; and

    an act the computing system making the second portion of the message log visible to the cursor subsequent to updating the status of the message and updating the second portion of the message log to include the assigned sequence number of the first message.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×