# US 2016/0366216 A1 · In-memory data store replication through remote memory sharing

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

- Number: US 2016/0366216 A1
- Document ID: US20160366216A1
- Status: Published application
- Kind: A1
- Application number: 14/737,389
- Filed: 2015-06-11
- Published: 2016-12-15
- Earliest claimed: 2015-06-11
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Michel H.T. Hack; Xiaoqiao Meng; Jian Tan; Yandong Wang; Li Zhang
- Web page: https://patentgrep.com/patent/US20160366216A1

## CPC

- G06F 11/2056: {by mirroring}
- G06F 11/14: Error detection or correction of the data by redundancy in operations (error detection or correction of the data by redundancy in hardware G06F11/16)
- G06F 11/1662: {the resynchronized component or unit being a persistent storage device (re-synchronization of failed mirror storage G06F11/2082; rebuild or reconstruction of parity RAID storage G06F11/1008)}
- G06F 11/1666: {where the redundant component is memory or memory area}
- H04L 67/1095: Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
- G06F 11/202: {where processing functionality is redundant (redundant communication control functionality G06F11/2005, redundant storage control functionality G06F11/2089)}
- G06F 11/3466: {Performance evaluation by tracing or monitoring}
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

A method for sharing memory of a backup server with a primary server for data replication is provided. The method may include maintaining a plurality of identical memory regions between the primary server and the backup server. The method may also include determining at least one remote memory address on the backup server for a backup key-value pair, whereby the determining is based on the maintaining of the plurality of memory regions. The method may further include inserting a plurality of data from the primary server directly in the determined at least one remote memory address on the backup server. The method may additionally include providing a mirroring status of a memory allocator on the primary server to the backup server based on the inserting of the plurality of data from the primary server.

## Claims

### Claim 1

A processor-implemented method for sharing memory of a backup server with a primary server for data replication, the method comprising:
maintaining, by a processor, a plurality of identical memory regions between the primary server and the backup server;
determining at least one remote memory address on the backup server for a backup key-value pair, wherein the determining is based on the maintaining of the plurality of memory regions;
inserting a plurality of data from the primary server directly in the determined at least one remote memory address on the backup server; and
providing a mirroring status of a memory allocator on the primary server to the backup server based on the inserting of the plurality of data from the primary server.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
managing a plurality of placement decisions and data transfer to a plurality of backup memory on the backup server.

### Claim 3 (depends on 2)

The method of claim 2, wherein the managing of the plurality of placement decisions and data transfer is managed by the primary server.

### Claim 4 (depends on 1)

The method of claim 1, wherein the inserting is performed using a plurality of remote direct memory access (RDMA) writes.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
re-synchronizing the primary server with a newly added backup server.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
enabling the backup server to take over when the primary server fails, wherein a hash table structure is rebuilt by reading indices.

### Claim 7 (depends on 1)

The method of claim 1, further comprises:
organizing indices of metadata on the backup server.

### Claim 8 (depends on 1)

The method of claim 1 further comprising:
determining a remote memory address on either the primary server or the backup server to retrieve a plurality of data, wherein the remote memory address to retrieve the plurality of data can be determined by a user or determined automatically.

### Claim 9

A computer system for sharing memory of a backup server with a primary server for data replication, the computer system comprising:
one or more processors, one or more computer-readable memories, one or more computer-readable tangible storage devices, and program instructions stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, wherein the computer system is capable of performing a method comprising:
maintaining, by a processor, a plurality of identical memory regions between the primary server and the backup server;
determining at least one remote memory address on the backup server for a backup key-value pair, wherein the determining is based on the maintaining of the plurality of memory regions;
inserting a plurality of data from the primary server directly in the determined at least one remote memory address on the backup server; and
providing a mirroring status of a memory allocator on the primary server to the backup server based on the inserting of the plurality of data from the primary server.

### Claim 10 (depends on 9)

The computer system of claim 9, further comprising:
managing a plurality of placement decisions and data transfer to a plurality of backup memory on the backup server.

### Claim 11 (depends on 10)

The computer system of claim 10, wherein the managing of the plurality of placement decisions and data transfer is managed by the primary server.

### Claim 12 (depends on 9)

The computer system of claim 9, wherein the inserting is performed using a plurality of remote direct memory access (RDMA) writes.

### Claim 13 (depends on 9)

The computer system of claim 9, further comprising:
re-synchronizing the primary server with a newly added backup server.

### Claim 14 (depends on 9)

The computer system of claim 9, further comprising:
enabling the backup server to take over when the primary server fails, wherein a hash table structure is rebuilt by reading indices.

### Claim 15 (depends on 9)

The computer system of claim 9, further comprises:
organizing indices of metadata on the backup server.

### Claim 16 (depends on 9)

The computer system of claim 9 further comprising:
determining a remote memory address on either the primary server or the backup server to retrieve a plurality of data, wherein the remote memory address to retrieve the plurality of data can be determined by a user or determined automatically.

### Claim 17

A computer program product for sharing memory of a backup server with a primary server for data replication, the computer program product comprising:
one or more computer-readable storage devices and program instructions stored on at least one of the one or more tangible storage devices, the program instructions executable by a processor, the program instructions comprising:
program instructions to maintain a plurality of identical memory regions between the primary server and the backup server;
program instructions to determine at least one remote memory address on the backup server for a backup key-value pair, wherein the determining is based on the maintaining of the plurality of memory regions;
program instructions to insert a plurality of data from the primary server directly in the determined at least one remote memory address on the backup server; and
program instructions to provide a mirroring status of a memory allocator on the primary server to the backup server based on the inserting of the plurality of data from the primary server.

### Claim 18 (depends on 17)

The computer program product of claim 17, further comprising:
program instructions to manage a plurality of placement decisions and data transfer to a plurality of backup memory on the backup server.

### Claim 19 (depends on 18)

The computer program product of claim 18, wherein the managing of the plurality of placement decisions and data transfer is managed by the primary server.

### Claim 20 (depends on 17)

The computer program product of claim 17, wherein the inserting is performed using a plurality of remote direct memory access (RDMA) writes.
