# US 2025/0159043 A1 · Remote direct memory access data replication model

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

- Number: US 2025/0159043 A1
- Document ID: US20250159043A1
- Status: Published application
- Kind: A1
- Application number: 18/587,247
- Filed: 2024-02-26
- Published: 2025-05-15
- Earliest claimed: 2023-11-13
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Yingrui TONG; Sijia HUANG; Vadim MAKHERVAKS; Madhav Himanshubhai PANDYA
- Web page: https://patentgrep.com/patent/US20250159043A1

## CPC

- H04L 67/1097: for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
- G06F 11/3476: {Data logging (G06F11/14, G06F11/2205 take precedence)}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer-implemented method for replicating a log to a remote computer system is disclosed. The method involves identifying a log comprising a data portion and a metadata portion for replication. The data portion is sent to the remote computer system using a Remote Direct Memory Access (RDMA) write operation, while the metadata portion is sent using a first RDMA send operation after the data portion has been sent. The method further includes identifying a second RDMA send operation received from the remote computer system, which indicates the completion of the first RDMA send operation. Based on identifying the second RDMA send operation, the method determines the completion of log replication to the remote computer system. This method enables efficient and reliable replication of logs in a computer system.

## Claims

### Claim 1

A method implemented in a computer system that includes a processor system, comprising:
identifying a log for replication to a remote computer system, the log comprising a data portion and a metadata portion;
sending the data portion to the remote computer system using a Remote Direct Memory Access (RDMA) write operation;
sending the metadata portion to the remote computer system using a first RDMA send operation after sending the data portion to the remote computer system using the RDMA write operation;
identifying a second RDMA send operation received from the remote computer system, the second RDMA send operation signaling completion of the first RDMA send operation; and
determining a completion of replication of the log to the remote computer system based on identifying the second RDMA send operation.

### Claim 2 (depends on 1)

The method of claim 1, wherein the log is stored in a write cache managed by a host cache service.

### Claim 3 (depends on 2)

The method of claim 2, wherein the write cache is stored in a persistent memory.

### Claim 4 (depends on 1)

The method of claim 1, wherein the data portion is stored in a first ring buffer within a memory, and the metadata portion is stored in a second ring buffer within the memory.

### Claim 5 (depends on 1)

The method of claim 1, wherein a size of the data portion is a multiple of a size of a memory page in the computer system.

### Claim 6 (depends on 1)

The method of claim 1, wherein the method further comprises:
identifying an input/output (I/O) operation;
generating the log from the I/O operation; and
committing the I/O operation based on determining the completion of the replication of the log to the remote computer system.

### Claim 7 (depends on 6)

The method of claim 6, wherein,
the I/O operation is identified from a virtual storage controller; and
committing the I/O operation comprises notifying the virtual storage controller.

### Claim 8 (depends on 7)

The method of claim 7, wherein the virtual storage controller is a virtual Non-Volatile Memory Express (NVMe) controller.

### Claim 9 (depends on 1)

The method of claim 1, wherein the second RDMA send operation comprises an indication of a success status.

### Claim 10 (depends on 1)

The method of claim 1, wherein the method further comprises de-staging the log to a backing store.

### Claim 11

A method implemented in a computer system that includes a processor system, comprising:
receiving a Remote Direct Memory Access (RDMA) write operation from a remote computer system, the RDMA write operation comprising a data portion of a log;
storing the data portion of the log in a memory without use of the processor system;
receiving a first RDMA send operation from the remote computer system, the first RDMA send operation comprising a metadata portion of the log;
storing the metadata portion of the log in the memory with use of the processor system; and
sending a second RDMA send operation to the remote computer system after storing the metadata portion of the log in the memory.

### Claim 12 (depends on 11)

The method of claim 11, wherein the data portion of the log and the metadata portion of the log are stored in a write cache managed by a host cache service.

### Claim 13 (depends on 12)

The method of claim 12, wherein the write cache is stored in a persistent memory.

### Claim 14 (depends on 11)

The method of claim 11, wherein the data portion is stored in a first ring buffer within the memory, and the metadata portion is stored in a second ring buffer within the memory.

### Claim 15 (depends on 11)

The method of claim 11, wherein a size of the data portion is a multiple of a size of a memory page in the computer system.

### Claim 16 (depends on 11)

The method of claim 11, wherein the second RDMA send operation comprises an indication of a success status.

### Claim 17

A computer system, comprising:
a processor system; and
a computer storage medium that stores computer-executable instructions that are executable by the processor system to at least:
identify a log for replication to a remote computer system, the log comprising a data portion and a metadata portion;
send the data portion to the remote computer system using a Remote Direct Memory Access (RDMA) write operation;
send the metadata portion to the remote computer system using a first RDMA send operation after sending the data portion to the remote computer system using the RDMA write operation;
identify a second RDMA send operation received from the remote computer system, the second RDMA send operation signaling completion of the first RDMA send operation; and
de-stage the log to a backing store based on identifying the second RDMA send operation.

### Claim 18 (depends on 17)

The computer system of claim 17, wherein the data portion is stored in a first ring buffer within a memory, and the metadata portion is stored in a second ring buffer within the memory.

### Claim 19 (depends on 17)

The computer system of claim 17, wherein a size of the data portion is a multiple of a size of a memory page in the computer system.

### Claim 20 (depends on 17)

The computer system of claim 17, wherein the computer-executable instructions are also executable by the processor system to at least:
identify an input/output (I/O) operation;
generate the log from the I/O operation; and
commit the I/O operation based on identifying the second RDMA send operation.
