# US 8,577,984 B2 · State management in a distributed computing system

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 8,577,984 B2
- Document ID: US8577984B2
- Status: Granted
- Kind: B2
- Application number: 13/211,255
- Filed: 2011-08-16
- Published: 2012-02-09
- Granted: 2013-11-05
- Earliest claimed: 2005-04-29
- Assignees: Microsoft Corporation
- Applicants: Ferhan Elvanoglu; Mark Markaryan; Nirav A. Kamdar; Robert J. Osborne; Sanjib K. Dutta
- Inventors: Ferhan Elvanoglu; Mark Markaryan; Nirav A. Kamdar; Robert J. Osborne; Sanjib K. Dutta
- Web page: https://patentgrep.com/patent/US8577984B2

## CPC

- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- H04L 65/1104: Session initiation protocol [SIP]
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Techniques to allow applications to propagate information to the other instances of the applications running on downstream servers are provided. An indicator, such as a token, tag, etc., is placed within or added to a message that is flowing through the distributed environment to signify that a process has been performed on the message. For example, when an instance of an application running on a server receives a message, the application instance can examine the indicator contained in the message and take appropriate action. If the application instance decides to process the message, the application instance can include an indicator in the message to signify that the application instance processed the message. The presence of the indicator signifies that the message has been processed by an upstream instance of the same application.

## Claims

### Claim 1

A computer-implemented method in a computing system for propagating information regarding the processing of a message by an application executing within a domain, the method comprising:
providing an application indicator identifying the application and a domain indicator identifying the domain; and
under the control of an instance of the application executing in the domain, receiving a message for processing by the instance of the application; determining whether the message contains the application indicator and the domain indicator, such that the application indicator and the domain indicator contained in the message indicates that the message was previously processed by an instance of the application executing in the domain;
responsive to determining that the message contains the application indicator and the domain indicator, ignoring the message so that the message is only processed by one instance of the application executing in the domain; and
responsive to determining that the message does not contain the application indicator and the domain indicator,
processing the message; and
placing the application indicator and the domain indicator within the message to indicate that the message was processed by an instance of the application executing in the domain.

### Claim 2 (depends on 1)

The method of claim 1 wherein an indicator is a FQDN.

### Claim 3 (depends on 1)

The method of claim 1 wherein the application indicator and the domain indicator are placed within the message as part of a message protocol header.

### Claim 4 (depends on 1)

The method of claim 1 wherein the application indicator and the domain indicator are placed within the message as part of the message protocol.

### Claim 5 (depends on 1)

The method of claim 1 wherein the domain includes a plurality of servers with multiple servers executing instances of the application.

### Claim 6 (depends on 5)

The method of claim 5 wherein the message is routed to multiple servers executing an instance of the application.

### Claim 7 (depends on 1)

The method of claim 1 wherein the application is an archiving application.

### Claim 8 (depends on 1)

The method of claim 1 wherein the application is an authentication application.

### Claim 9

A computer-readable storage device storing computer-executable instructions for causing a server executing within a pool of servers to perform a method comprising:
receiving a message for processing by an instance of the application;
determining whether the message contains an application indicator and a pool indicator, such that the application indicator and the pool indicator contained in the message indicate that the message was previously processed by an instance of the application executing in the pool;
responsive to determining that the message does not contain the application indicator and the pool indicator,
processing the message by an instance of the application; and
adding the application indicator and the pool indicator to the message to indicate that the message has been processed by an instance of the application executing in the pool;
responsive to determining that the message contains the application indicator and the pool indicator, suppressing processing of the message by an instance of the application so that the message is processed by only one instance of the application executing in the pool.

### Claim 10 (depends on 9)

The computer-readable storage device of claim 9 wherein the tag contains an identifier of the application.

### Claim 11 (depends on 10)

The computer-readable storage device of claim 10 wherein the servers are within a domain and the tag identifies the domain.

### Claim 12 (depends on 9)

The computer-readable storage device of claim 9 wherein the tag added to the message conforms to SIP.

### Claim 13 (depends on 9)

The computer-readable storage device of claim 9 wherein the tag added to the message is a SIP Application Via Header.

### Claim 14 (depends on 9)

The computer-readable storage device of claim 9 wherein the tag indicates that the message is to be processed only once by the application.

### Claim 15

A server for propagating information regarding the processing of messages by instances of an application executing within a domain that contains the server, comprising:
a memory storing computer-executable instructions of the application adapted to under the control of an instance of the application executing on the server,
receive a message for processing by the instance of the application;
determine whether the message contains an application indicator identifying the application and a domain indicator identifying the domain;
after determining that the message contains the application indicator and the domain indicator and before processing the message by the instance of the application, ignoring the message so that the message is not processed by the instance of the application; and
after determining that the message does not contain both the application indicator and the domain indicator,
processing the message by the instance of the application;
placing the application indicator and the domain indicator within the message to indicate that the message was processed by an instance of the application executing in the domain; and
placing a tag in the message indicating that the message is to be processed only once per domain; and
a processor that executes the computer-executable instructions of the application stored in the memory.

### Claim 16 (depends on 15)

The server of claim 15 wherein the application indicator and the domain indicator are placed within the message as part of a message protocol header.

### Claim 17 (depends on 15)

The server of claim 15 wherein the domain includes a plurality of servers with multiple servers executing instances of the application.

### Claim 18 (depends on 17)

The server of claim 17 wherein the message is routed to multiple servers within the domain executing an instance of the application.
