US 12,079,651 B2
Serverless application function execution
Min Xiang, Beijing (CN); Yue Wang, Beijing (CN); Wen Rui Zhao, Beijing (CN); Xu Hui Bai, Beijing (CN); and Li Na Yuan, Beijing (CN)
Assigned to International Business Machines Corporation, Armonk, NY (US)
Filed by International Business Machines Corporation, Armonk, NY (US)
Filed on Jul. 14, 2021, as Appl. No. 17/305,774.
Prior Publication US 2023/0014233 A1, Jan. 19, 2023
Int. Cl. G06F 9/455 (2018.01); G06F 11/07 (2006.01); G06F 11/14 (2006.01)
CPC G06F 9/45558 (2013.01) [G06F 11/0757 (2013.01); G06F 11/1448 (2013.01); G06F 11/1484 (2013.01); G06F 2009/4557 (2013.01); G06F 2009/45575 (2013.01); G06F 2009/45579 (2013.01); G06F 2201/84 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A computer-implemented method for executing serverless application functions, the computer-implemented method comprising:
receiving, by a computer, a response to a user request for a service with an include callback parameter and a transaction identifier of the user request included in a header of the response from an external service via a network, wherein the include callback parameter is added to the header in response to detecting a serverless application function for the service will run for more than a defined maximum threshold amount of time;
generating, by the computer, a checkpoint of a container corresponding to the service using the include callback parameter;
retrieving, by the computer, the checkpoint of the container corresponding to the service from a data store using the transaction identifier of the user request; and
restoring, by the computer, the container corresponding to the service using the checkpoint to process the response received from the external service.