Service-compatible fault tolerance and acclimation
AssigneeSap SE
InventorsSateesh Babu Chilamakuri, Sathya G, Ramya Nandakumaran
Life of this patent
Estimating the term…
Abstract
In an example embodiment, a solution is provided to build a generic service failover framework that can be packaged as a library and implemented by many different microservices, whether on-premises or in the cloud. Each application can implement/add/hook this service to obtain the benefits of handling failover gracefully, as well as coming with some customizable options to provide a complete failover framework.
Claims20
A system comprising:
- at least one hardware processor;
- and
- a computer-readable medium storing instructions that, when executed by the at least one hardware processor, cause the at least one hardware processor to perform operations comprising:
- receiving a request for a first service from a client application;
- determining that the first service is hooked to a failover framework;
- in response to the determining, examining an available connection pointer pool to determine if there are any available connection pointers corresponding to the first service, the available connection pointer pool being a group of available connection pointers provided for use by services;
- and
- in response to a determination that there are no available connection pointers corresponding to the first service:
- accessing a configuration file associated with the client application;
- and
- automatically respawning an instance of the first service using the configuration file.
A method comprising:
- receiving a request for a first service from a client application;
- determining that the first service is hooked to a failover framework;
- in response to the determining, examining an available connection pointer pool to determine if there are any available connection pointers corresponding to the first service;
- and
- in response to the determining, examining an available connection pointer pool to determine if there are any available connection pointers corresponding to the first service, the available connection pointer pool being a group of available connection pointers provided for use by services;
- and
- accessing a configuration file associated with the client application;
- and
- automatically respawning an instance of the first service using the configuration file.
A non-transitory machine-readable medium storing instructions which, when executed by one or more processors, cause the one or more processors to perform operations comprising:
- receiving a request for a first service from a client application;
- determining that the first service is hooked to a failover framework;
- in response to the determining, examining an available connection pointer pool to determine if there are any available connection pointers corresponding to the first service, the available connection pointer pool being a group of available connection pointers provided for use by services;
- and
- in response to a determination that there are no available connection pointers corresponding to the first service:
- accessing a configuration file associated with the client application;
- and
- automatically respawning an instance of the first service using the configuration file.
Dependencies are inferred from the claim text.