IP Library › Granted Patent US 11,249,812
Granted Patent B2
US 11,249,812 · App. 16/521,642 · Granted Feb 15, 2022

Temporary compensation of outages

Inventors: Peter Eberlein (Heidelberg, DE); Volker Driesen (Malsch, DE)
Assignee: SAP SE
G06F9/505G06F9/5083G06Q30/0633
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,249,812
App. No.
16/521,642
Granted
Feb 15, 2022
Kind
B2
Abstract

Methods, systems, and computer-readable storage media for determining, by an application instance, that first data is to be requested, transmitting, by a total outage compensator of the application instance, one or more requests for the first data to one or more peer application instances, receiving, by the total outage compensator, a response to a request for the first data, the response including the data, and executing, by the instance of the application instance, at least one function based on the first data.

Claims (46)

1. A computer-implemented method for execution of peer application instances in microservice-based architectures, the method being executed by one or more processors and comprising:

providing a plurality of application instances of a microservice-based application executed in a cloud infrastructure, each application instance comprising an application, a local cache, and a total outage compensator that provides the application access to the local cache, each total outage compensator enabling a respective application instance to broadcast data requests to every other application instance in the plurality of application instances;

determining, by a first application instance of the plurality of application instances, that first data is to be requested;

transmitting, by a total outage compensator of the first application instance, requests for the first data to each other application instance of the plurality of application instances;

receiving, by the total outage compensator, a response to a request for the first data from a second application instance of the plurality of application instances, the response comprising the first data;

executing, by the instance of the application instance, at least one function based on the first data; and

broadcasting, by the total outage compensator of the first application instance, a cache invalidation request to each of the other application instances in the plurality of application instance in response to writing data to the local cache of the first application instance.

2. The method of claim 1 , wherein transmitting the one or more requests for the data to the one or more peer application instances is executed in response to determining that the first data is unavailable from a local cache and determining that the first data is unavailable from a persistence layer.

3. The method of claim 2 , wherein the total outage compensator of the application instance determines that the first data is unavailable from a local cache and determines that the first data is unavailable from the persistence layer.

4. The method of claim 1 , further comprising:

determining that second data is to be written to a persistence layer; and

writing the second data to a local cache of the first application instance.

5. The method of claim 4 , wherein writing the second data to the local cache of the first application instance is performed in response to determining that the persistence layer is unavailable.

6. The method of claim 4 , further comprising transmitting the second data to the persistence layer.

7. The method of claim 1 , wherein the first application instance and each of the peer application instances execute functionality for at least one of sales order entry, user identity management, document management, and logging.

8. A non-transitory computer-readable storage medium coupled to one or more processors and having instructions stored thereon which, when executed by the one or more processors, cause the one or more processors to perform operations for execution of peer application instances in microservice-based architectures, the operations comprising:

providing a plurality of application instances of a microservice-based application executed in a cloud infrastructure, each application instance comprising an application, a local cache, and a total outage compensator that provides the application access to the local cache, each total outage compensator enabling a respective application instance to broadcast data requests to every other application instance in the plurality of application instances;

determining, by a first application instance of the plurality of application instances, that first data is to be requested;

transmitting, by a total outage compensator of the first application instance, requests for the first data to each other application instance of the plurality of application instances;

receiving, by the total outage compensator, a response to a request for the first data from a second application instance of the plurality of application instances, the response comprising the first data;

executing, by the instance of the application instance, at least one function based on the first data; and

broadcasting, by the total outage compensator of the first application instance, a cache invalidation request to each of the other application instances in the plurality of application instance in response to writing data to the local cache of the first application instance.

9. The computer-readable storage medium of claim 8 , wherein transmitting the one or more requests for the data to the one or more peer application instances is executed in response to determining that the first data is unavailable from a local cache and determining that the first data is unavailable from a persistence layer.

10. The computer-readable storage medium of claim 9 , wherein the total outage compensator of the application instance determines that the first data is unavailable from a local cache and determines that the first data is unavailable from the persistence layer.

11. The computer-readable storage medium of claim 8 , wherein operations further comprise:

determining that second data is to be written to a persistence layer; and

writing the second data to a local cache of the first application instance.

12. The computer-readable storage medium of claim 11 , wherein writing the second data to the local cache of the first application instance is performed in response to determining that the persistence layer is unavailable.

13. The computer-readable storage medium of claim 11 , wherein operations further comprise transmitting the second data to the persistence layer.

14. The computer-readable storage medium of claim 9 , wherein the first application instance and each of the peer application instances execute functionality for at least one of sales order entry, user identity management, document management, and logging.

15. A system, comprising:

a computing device; and

a computer-readable storage device coupled to the computing device and having instructions stored thereon which, when executed by the computing device, cause the computing device to perform operations for execution of peer application instances in microservice-based architectures, the operations comprising:

providing a plurality of application instances of a microservice-based application executed in a cloud infrastructure, each application instance comprising an application, a local cache, and a total outage compensator that provides the application access to the local cache, each total outage compensator enabling a respective application instance to broadcast data requests to every other application instance in the plurality of application instances;

determining, by a first application instance of the plurality of application instances a microservice-based application, that first data is to be requested;

transmitting, by a total outage compensator of the first application instance, one or more requests for the first data to one or more peer each other application instance instances of the plurality of application instances;

receiving, by the total outage compensator, a response to a request for the first data from a second application instance of the plurality of application instances microservice-based application, the response comprising the first data;

executing, by the instance of the application instance, at least one function based on the first data; and

broadcasting, by the total outage compensator of the first application instance, a cache invalidation request to each of the other application instances in the plurality of application instance in response to writing data to the local cache of the first application instance.

16. The system of claim 15 , wherein transmitting the one or more requests for the data to the one or more peer application instances is executed in response to determining that the first data is unavailable from a local cache and determining that the first data is unavailable from a persistence layer.

17. The system of claim 16 , wherein the total outage compensator of the application instance determines that the first data is unavailable from a local cache and determines that the first data is unavailable from a persistence layer.

18. The system of claim 15 , wherein operations further comprise:

determining that second data is to be written to a persistence layer; and

writing the second data to a local cache of the first application instance.

19. The system of claim 18 , wherein writing the second data to the local cache of the first application instance is performed in response to determining that the persistence layer is unavailable.

20. The system of claim 18 , wherein operations further comprise transmitting the second data to the persistence layer.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 25, 2019
From: EBERLEIN, PETER; DRIESEN, VOLKER
To: SAP SE
Reel/Frame 049857/0413 →
Continuity (1)
Related Publication 20210026694A1 · Jan 28, 2021
Cited By (4)
US 12,499,116 US 12,541,616 US 12,561,225 US 12,689,626