# US 2025/0335299 A1 · Fast failure recovery of applications

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

- Number: US 2025/0335299 A1
- Document ID: US20250335299A1
- Status: Published application
- Kind: A1
- Application number: 19/261,601
- Filed: 2025-07-07
- Published: 2025-10-30
- Earliest claimed: 2023-02-21
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: David Andrew Roberts
- Web page: https://patentgrep.com/patent/US20250335299A1

## CPC

- G06F 11/1407: {Checkpointing the instruction stream}
- G06F 9/455: Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F 9/5016: {the resource being the memory}
- G06F 11/1438: {Restarting or rejuvenating}
- G06F 11/1484: {involving virtual machines}
- G06F 11/2028: {eliminating a faulty processor or activating a spare}
- G06F 11/203: {using migration}
- G06F 11/2035: {without idle spare hardware}
- G06F 11/2038: {with a single idle spare processing component}
- G06F 11/2043: {where the redundant components share a common memory address space}
- G06F 11/2046: {where the redundant components share persistent storage (G06F11/2043 takes precedence)}
- G06F 11/2048: {where the redundant components share neither address space nor persistent storage}
- G06F 11/2097: {maintaining the standby controller/processing unit updated (initialisation or re-synchronisation thereof G06F11/1658 and subgroups)}
- G06F 2209/5011: Pool
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Disclosed in some examples, are methods, systems, and machine-readable mediums in which application state is saved using in-memory versioning in a shared memory pool of disaggregated memory. By utilizing a disaggregated memory pool, the processing resources may be on separate devices than the memory those resources are using. As a result of this architecture, a failure of hardware of processing resources or an application does not necessarily also cause the hardware resources of the memory devices to fail. This allows a standby application executing on standby processing resources to quickly resume execution when a primary application fails by utilizing the memory pool assigned to the primary application in the memory pool.

## Claims

### Claim 1

A method for fast failover of an application, the method comprising:
assigning an allocation of memory from a disaggregated memory pool to a first application instance of an application executing on a first hardware processing resource or a second hardware processing resource;
causing implementation of in-memory versioning for the memory allocation, wherein the in-memory versioning maintains checkpoint values and working values in different physical memory locations addressable by a same request address;
causing periodic storing of application state data at a first memory location of the memory allocation and committing the application state data as checkpoint values at a second memory location of the memory allocation using in-memory versioning commit operations;
identifying an error event during execution of the first application instance;
causing a rollback of values of the application state data of the first application instance stored in memory of the memory allocation to committed checkpoint values stored in the second memory location, without requiring access to non-volatile storage; and
assigning a second application instance to the allocation of memory, including the committed checkpoint values, wherein the application continues execution of the application via execution of a second instance of the application from the committed checkpoint values of the application state data of the first application instance.

### Claim 2 (depends on 1)

The method of claim 1, wherein the application state data comprises one or more of: a program counter, register values of the first hardware processing resource, a stack memory of the first application instance, or a pool memory of the first application instance.

### Claim 3 (depends on 1)

The method of claim 1, wherein the disaggregated memory pool is on a memory device that is shared by a first and second computing device, and wherein the first application instance is executed on the first computing device and the second application instance is executed on the second computing device.

### Claim 4 (depends on 1)

The method of claim 1, wherein the first hardware processing resource or the second hardware processing resource is on a different computing device than a memory device where memory cells making up the allocation of memory are located.

### Claim 5 (depends on 1)

The method of claim 1, wherein the in-memory versioning utilizes a Zero Copy (ZC) mode that alternates between two memory locations serving as a checkpoint memory location and a working copy memory location between each checkpoint, with metadata fields including a select field indicating which memory location is the working copy memory location and a dirty field indicating whether the memory location was updated since a last checkpoint.

### Claim 6 (depends on 1)

The method of claim 1, wherein the in-memory versioning utilizes a Direct Copy (DC) mode where an active working copy is found in a particular one of the different physical memory locations, and wherein on write requests, a dirty field is checked and if not set, copying a working location to a checkpoint location.

### Claim 7 (depends on 1)

The method of claim 1, further comprising: receiving a memory allocation request from the first application instance requesting memory allocation from the disaggregated memory pool with in-memory versioning capability; and returning the allocation to a requestor with addresses for accessing the memory and status information.

### Claim 8

A computing device for fast failover of an application, the computing device comprising:
a hardware processor;
a memory, the memory storing instructions, which when executed by the hardware processor cause the computing device to perform operations comprising:
assigning an allocation of memory from a disaggregated memory pool to a first application instance of an application executing on a first hardware processing resource or a second hardware processing resource;
causing implementation of in-memory versioning for the memory allocation, wherein the in-memory versioning maintains checkpoint values and working values in different physical memory locations addressable by a same request address;
causing periodic storing of application state data at a first memory location of the memory allocation and committing the application state data as checkpoint values at a second memory location of the memory allocation using in-memory versioning commit operations;
identifying an error event during execution of the first application instance;
causing a rollback of values of the application state data of the first application instance stored in memory of the memory allocation to committed checkpoint values stored in the second memory location, without requiring access to non-volatile storage; and
assigning a second application instance to the allocation of memory, including the committed checkpoint values, wherein the application continues execution of the application via execution of a second instance of the application from the committed checkpoint values of the application state data of the first application instance.

### Claim 9 (depends on 8)

The computing device of claim 8, wherein the operation of assigning an allocation of memory further comprises: assigning memory such that the application state data comprises one or more of: a program counter, register values of the hardware processor, a stack memory of the first application instance, or a pool memory of the first application instance.

### Claim 10 (depends on 8)

The computing device of claim 8, wherein the disaggregated memory pool is on a memory device that is shared by a first and second computing device, and wherein the first application instance is executed on the computing device and the second application instance is executed on the second computing device.

### Claim 11 (depends on 8)

The computing device of claim 8, wherein the computing device is on a different computing device than a memory device where memory cells making up the allocation of memory are located.

### Claim 12 (depends on 8)

The computing device of claim 8, wherein the in-memory versioning utilizes a Zero Copy (ZC) mode that alternates between two memory locations serving as a checkpoint memory location and a working copy memory location between each checkpoint, with metadata fields including a select field indicating which memory location is the working copy memory location and a dirty field indicating whether the memory location was updated since a last checkpoint.

### Claim 13 (depends on 8)

The computing device of claim 8, wherein the in-memory versioning utilizes a Direct Copy (DC) mode where an active working copy is found in a particular one of different physical memory locations, and wherein the operation of periodically storing application state data further comprises: on write requests, checking a dirty field and, if not set, copying a working location to a checkpoint location.

### Claim 14 (depends on 8)

The computing device of claim 8, wherein the operations further comprise: receiving a memory allocation request from the first application instance requesting a memory allocation from the disaggregated memory pool with in-memory versioning capability; and returning the allocation to a requestor with addresses for accessing the memory and status information.

### Claim 15

A non-transitory computer-readable medium, storing instructions for fast failover of an application, the instructions, which when executed, cause a computing device to perform operations comprising:
assigning an allocation of memory from a disaggregated memory pool to a first application instance of an application executing on a first hardware processing resource or a second hardware processing resource;
causing implementation of in-memory versioning for the memory allocation, wherein the in-memory versioning maintains checkpoint values and working values in different physical memory locations addressable by a same request address;
causing periodic storing of application state data at a first memory location of the memory allocation and committing the application state data as checkpoint values at a second memory location of the memory allocation using in-memory versioning commit operations;
identifying an error event during execution of the first application instance;
causing a rollback of values of the application state data of the first application instance stored in memory of the memory allocation to committed checkpoint values stored in the second memory location, without requiring access to non-volatile storage; and
assigning a second application instance to the allocation of memory, including the committed checkpoint values, wherein the application continues execution of the application via execution of a second instance of the application from the committed checkpoint values of the application state data of the first application instance.

### Claim 16 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the operation of assigning an allocation of memory further comprises: assigning memory such that the application state data comprises one or more of: a program counter, register values of the first hardware processing resource, a stack memory of the first application instance, or a pool memory of the first application instance.

### Claim 17 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the disaggregated memory pool is on a memory device that is shared by a first and second computing device, and wherein the first application instance is executed on the first computing device and the second application instance is executed on the second computing device.

### Claim 18 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the first hardware processing resource or the second hardware processing resource is on a different computing device than a memory device where memory cells making up the allocation of memory are located.

### Claim 19 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the in-memory versioning utilizes a Zero Copy (ZC) mode that alternates between two memory locations serving as a checkpoint memory location and a working copy memory location between each checkpoint, with metadata fields including a select field indicating which memory location is the working copy memory location and a dirty field indicating whether the memory location was updated since a last checkpoint.

### Claim 20 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the in-memory versioning utilizes a Direct Copy (DC) mode where an active working copy is found in a particular one of the different physical memory locations, and wherein the operation of periodically storing application state data further comprises: on write requests, checking a dirty field and, if not set, copying a working location to a checkpoint location.
