Limiting resource usage of a microservice-based application
AssigneeSap SE
InventorHui LI
Life of this patent
Estimating the term…
Abstract
Systems and methods provide reception of a request including a resource usage limit associated with a computing resource, execution of processing in response to the request, determination of an amount of the computing resource consumed during the processing, update of the resource usage limit based on the determined amount, determination that the resource usage limit has not been reached based on the updated resource usage limit, and, in response to the determination that the updated resource usage limit has not been reached, return a response to the request including the updated resource usage limit.
Claims20
A system comprising:
- memory storing processor-executable program code;
- and
- a processing unit to execute the processor-executable program code to cause the system to:
- receive a request including a resource usage limit associated with a computing resource;
- execute processing based on the request;
- determine an amount of the computing resource consumed during the processing;
- update the resource usage limit based on the determined amount;
- determine that the updated resource usage limit is greater than zero;
- and
- in response to the determination that the updated resource usage limit is greater than zero, return a response to the request including the updated resource usage limit.
A method comprising:
- receiving a request including a resource usage limit associated with a computing resource;
- executing processing based on the request;
- determining an amount of the computing resource consumed during the processing;
- updating the resource usage limit based on the determined amount;
- determining that the resource usage limit has not been reached based on the updated resource usage limit;
- and
- in response to the determination that the updated resource usage limit has not been reached, returning a response to the request including the updated resource usage limit.
A non-transitory computer-readable medium storing processor-executable program code, the program code executable to cause a system to:
- receive a request including a resource usage limit associated with a computing resource;
- execute processing in response to the request;
- determine an amount of the computing resource consumed during the processing;
- update the resource usage limit based on the determined amount;
- determine that the resource usage limit has not been reached based on the updated resource usage limit;
- and
- in response to the determination that the updated resource usage limit has not been reached, return a response to the request including the updated resource usage limit.
Dependencies are inferred from the claim text.