# US 2012/0260124 A1 · Recovery of a document serving environment

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

- Number: US 2012/0260124 A1
- Document ID: US20120260124A1
- Status: Published application
- Kind: A1
- Application number: 13/082,912
- Filed: 2011-04-08
- Published: 2012-10-11
- Earliest claimed: 2011-04-08
- Assignees: Microsoft Corporation
- Inventors: DANIEL YUAN; NEIL SHARMAN; JAY GOYAL; UTKARSH JAIN; VIBHAAKAR SHARMA; VINAY DESHPANDE
- Web page: https://patentgrep.com/patent/US20120260124A1

## CPC

- G06F 16/93: Document management systems
- G06F 11/1658: {Data re-synchronization of a redundant component, or initial sync of replacement, additional or spare unit}
- G06F 11/2038: {with a single idle spare processing component}
- G06F 11/203: {using migration}
- G06F 11/2048: {where the redundant components share neither address space nor persistent storage}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Methods and systems for quickly serving documents are provided. Documents may be served to users, for example, in response to search query inputs. Documents may be individually communicated to a document server individually prior to batching the documents. In such a real-time serving system, serving components may fail. To ensure real-time serving despite the failure, spares are utilized to replace the failing serving components such that the spare can immediately begin receiving documents. The spare can also be synchronized with other serving components to obtain the memory of the failing serving component prior to the failure.

## Claims

### Claim 1

One or more computer storage media storing computer-useable instructions that, when used by one or more computing devices, cause the one or more computing devices to perform a method, the method comprising:
identifying a first document server of a plurality of document servers associated with a document distributor, wherein the document distributor receives individual documents to communicate to each document server of the plurality of document servers;
identifying that the first document server is failing such that it is not receiving individual documents from the document distributor;
communicating an instruction to record data accumulation to each of the plurality of document servers remaining after the first document server failed, wherein data accumulation is any data accumulated on the plurality of document servers since the first document server failed;
replacing the first document server with a second document server; and
synchronizing the second document server with each of the plurality of document servers such that they are identical.

### Claim 2 (depends on 1)

The one or more computer storage media of claim 1, wherein individual documents include websites, web pages, and the like.

### Claim 3 (depends on 1)

The one or more computer storage media of claim 1, further comprising serving the individual documents from the second document server once the synchronization is complete.

### Claim 4 (depends on 3)

The one or more computer storage media of claim 3, wherein the document is served to the user in response to receiving a search query input.

### Claim 5 (depends on 1)

The one or more computer storage media of claim 1, wherein the plurality of document servers record the data accumulation while simultaneously serving documents.

### Claim 6 (depends on 1)

The one or more computer storage media of claim 1, wherein the second document server was running in the background prior to the failure of the first document server such that data received by the first document server prior to the failure is included on the second document server.

### Claim 7 (depends on 1)

The one or more computer storage media of claim 1, wherein synchronizing the second document server with each of the plurality of document servers includes identifying which document server of the plurality of document servers includes data received subsequent to the failure of the first document server.

### Claim 8 (depends on 7)

The one or more computer storage media of claim 7, wherein synchronizing the second document server with each of the plurality of document servers further includes:
accessing various portions of the data received subsequent to the failure of the first document server from various document servers of the plurality of document servers; and
copying the data received subsequent to the failure of the first document server to the second document server.

### Claim 9 (depends on 1)

The one or more computer storage media of claim 1, wherein the second document server receives individual documents from the document distributor upon replacing the first document server.

### Claim 10

One or more computer storage media storing computer-useable instructions that, when used by one or more computing devices, cause the one or more computing devices to perform a method, the method comprising:
identifying a current load of an index unit associated with a document distributor in a first layout, wherein the current load of the index unit is a number of individual documents received by the index unit, and wherein the index unit includes one or more document servers associated with the document distributor;
receiving an indication that a total load of the index unit is increasing;
creating a second layout including at least one additional index unit compared to the first layout;
transferring data associated with the first layout to the second layout until the first layout has transferred all data associated therewith; and
identifying the second layout as a primary layout such that all data is communicated directly to the second layout.

### Claim 11 (depends on 10)

The one or more computer-storage media of claim 10, further comprising removing the first layout.

### Claim 12 (depends on 10)

The one or more computer media of claim 10, further comprising balancing the total load of both the first layout and the second layout and a total number of documents served from both the first layout and the second layout.

### Claim 13 (depends on 10)

The one or more computer media of claim 10, wherein an increase of the total load of the index unit is when a number of individual documents received by the index unit is increased.

### Claim 14 (depends on 13)

The one or more computer media of claim 13, further comprising reallocating responsibilities of the index unit to compensate for the at least one additional index unit in the second layout.

### Claim 15 (depends on 14)

The one or more computer media of claim 14, wherein reallocation of responsibilities allows for data to be communicated directly to the at least one additional index unit.

### Claim 16

A method for serving documents, the method comprising:
receiving, at a document distributor, an individual document that is available from a document provider, wherein the document is any web document;
communicating the individual document to a plurality of document servers associated with the document distributor, wherein the plurality of document servers receive documents only from the associated document distributor;
identifying, by a computing device having a processor and a memory, that a first document server of the plurality of document servers is failing;
identifying a sequence point, where the sequence point is a time at which the first document server failed and was no longer receiving documents;
reassigning the failing document server's responsibilities to a second document server such that any documents received after the sequence point are received by the second document server; and
updating the second document server such that it is identical to each document server in the plurality of document servers.

### Claim 17 (depends on 16)

The method of claim 16, wherein updating the second document server includes copying data prior to the sequence point from each of the remaining document servers of the plurality of document servers to the second document server.

### Claim 18 (depends on 16)

The method of claim 16, further comprising communicating a notification to each of the remaining document servers of the plurality of document servers indicating that each document server should record data accumulation.

### Claim 19 (depends on 18)

The method of claim 18, wherein data accumulation is any data received by the plurality of document servers subsequent to the sequence point.

### Claim 20 (depends on 16)

The method of claim 16, wherein serving documents from the second document server once the second document server is updated and identical to each other document server within the plurality of document servers.
