Patent ID: 11966725
Assignee: MICROSOFT TECHNOLOGY LICENSING, LLC
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 14:
15. A computer readable storage medium having encoded thereon, computer-readable instructions that when executed by a system causes the system to:
retrieve a plurality of request queues from the plurality of microservices using a termination manager, wherein a request queue contains one or more outstanding requests;
construct a plurality of call graphs based on each of the one or more outstanding requests of the plurality of request queues defining a sequence of operations invoked by each of the one or more outstanding requests;
determining that a microservice of the plurality of microservices does not appear in the plurality of call graphs indicating that the microservice is eligible for termination;
in response to determining that the microservice of the plurality of microservices does not appear in the plurality of call graphs, terminating the microservice;
update the plurality of call graphs by monitoring the plurality of request queues in response to a completion of an outstanding request wherein the completion of the outstanding request causes a removal of the outstanding request from a request queue of the plurality of request queues containing the outstanding request;
determine, based on the updated plurality of call graphs, that another microservice of the plurality of microservices does not appear in any of the updated plurality of call graphs following the completion of the outstanding request; and
terminate the other microservice in response to determining that the other microservice of the plurality of microservices does not appear in any of the updated plurality of call graphs.