# US 2017/0255499 A1 · Hybrid quorum system with persistent and non-persistent

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

- Number: US 2017/0255499 A1
- Document ID: US20170255499A1
- Status: Published application
- Kind: A1
- Application number: 15/062,227
- Filed: 2016-03-07
- Published: 2017-09-07
- Earliest claimed: 2016-03-07
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Guy Laden; Yoav Tock; Ilya Shnayderman
- Web page: https://patentgrep.com/patent/US20170255499A1

## CPC

- G06F 9/52: Program synchronisation; Mutual exclusion, e.g. by means of semaphores
- G06N 20/00: Machine learning
- H04L 67/1095: Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A hybrid quorum system capable of supporting both persistent and non-persistent operations is disclosed. A computerized system, computerized apparatus, computer program product and method useful for providing a hybrid quorum system are disclosed. A replicated process in a Replicated State Machine (RSM) is configured to receive transient operations and perform such operations without storing the transient operations in a persistent storage of the replicated process. The replicated process is further configured to receive persistent operations and accordingly store such operations in a persistent storage, such as in an operation log, and perform the operations.

## Claims

### Claim 1

A computer-implemented method performed by a server that implements a replicated process in a Replicated State Machine (RSM) that utilizes a quorum system to agree upon an order of operations, said method comprising:
receiving a first operation in the RSM, wherein the first operation is a transient operation;
performing the first operation without storing the first operation in a persistent storage of the server;
receiving a second operation in the RSM, wherein the second operation is a persistent operation; and
storing the second operation in the persistent storage of the server and performing the second operation.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein said storing the second operation further comprises storing consecutive transient operations preceding the persistent operation, wherein the consecutive transient operations preceding the persistent operation comprise the first operation.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the first operation is dropped and never retained to persistent storage.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein each operation in the RSM has an operation ID, wherein the operation ID comprises a major number and a minor number, wherein transient operations advance the minor number and persistent operations advance the major number.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1 further comprises:
opening a speculative branch prior to performing the first operation, wherein the speculative branch comprises operations speculatively agreed upon and not retained prior to a commit operation; and
committing the speculative branch in response to the second operation.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein the RSM implemented a Paxos-based quorum system.

### Claim 7 (depends on 6)

The computer-implemented method of claim 6, wherein the replicated process is acting as a leader of the RSM.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, wherein the transient operation is a dummy write operation useful to providing a consistent read operation in the RSM.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, wherein the transient operation is an operation on a membership information of the RSM.

### Claim 10

A server implementing a replicated process in a Replicated State Machine (RSM) that utilizes a quorum system to agree upon an order of operations, wherein the server comprises a processor, the processor being adapted to perform the steps of:
receiving a first operation in the RSM, wherein the first operation is a transient operation;
performing the first operation without storing the first operation in a persistent storage of the server;
receiving a second operation in the RSM, wherein the second operation is a persistent operation; and
storing the second operation in the persistent storage of the server and performing the second operation.

### Claim 11 (depends on 10)

The server of claim 10, wherein said storing the second operation further comprises storing consecutive transient operations preceding the persistent operation, wherein the consecutive transient operations preceding the persistent operation comprise the first operation.

### Claim 12 (depends on 10)

The server of claim 10, wherein the first operation is dropped and never retained to persistent storage.

### Claim 13 (depends on 10)

The server of claim 10, wherein each operation in the RSM has an operation ID, wherein the operation ID comprises a major number and a minor number, wherein transient operations advance the minor number and persistent operations advance the major number.

### Claim 14 (depends on 10)

The server of claim 10, wherein the processor is further adapted to perform:
opening a speculative branch prior to performing the first operation, wherein the speculative branch comprises operations speculatively agreed upon and not retained prior to a commit operation; and
committing the speculative branch in response to the second operation.

### Claim 15 (depends on 10)

The server of claim 10, wherein the RSM implemented a Paxos-based quorum system.

### Claim 16 (depends on 15)

The server of claim 15, wherein the replicated process is acting as a leader of the RSM.

### Claim 17 (depends on 10)

The server of claim 10, wherein the transient operation is a dummy write operation useful to providing a consistent read operation in the RSM.

### Claim 18 (depends on 10)

The server of claim 10, wherein the transient operation is an operation on a membership information of the RSM.

### Claim 19

A computer program product comprising a non-transitory computer readable storage medium retaining program instructions, which program instructions when read by a processor of a server implementing a replicated process in a Replicated State Machine (RSM) that utilizes a quorum system to agree upon an order of operations, cause the processor to perform a method comprising:
receiving a first operation in the RMS, wherein the first operation is a transient operation;
performing the first operation without storing the first operation in a persistent storage of the server;
receiving a second operation in the RSM, wherein the second operation is a persistent operation; and
storing the second operation in the persistent storage of the server and performing the second operation.
