CPC G06F 21/6218 (2013.01) | 20 Claims |
9. An apparatus comprising:
a processor;
a non-transitory machine-readable storage medium that provides instructions that, if executed by the processor, are configurable to cause the apparatus to perform operations comprising, instantiate a container manager configured to:
pre-initialize a plurality of containers;
register the plurality of containers in a container database and set a status of the plurality of containers as available;
delete any of the plurality of containers that are marked for deletion to prevent the containers marked for deletion from processing any subsequent calls;
instantiate one or more routers that are configured to:
receive over a network a call requesting execution of client code;
process the call by selecting one of the containers marked as available in the container database, and update the status of the selected container as in-use with timestamp to ensure that another one of the routers does not select any of the containers that are marked in-use;
responsive to the selected container processing the call and executing the client code, receiving a response from the selected container and returning the response to a caller; and
marking the selected container for deletion in the container database.
|