Patent attributes
Determining microservice placement to minimize response time in a network is provided. A set of resources utilized by a microservice during operation is identified based on inspecting a configuration file and code of the microservice. A deployed location within the network of each resource is determined. A relative weight value is assigned to each resource indicating a relative significance of each resource to the microservice during operation. A weighted-average response time is determined for each data center in a set of possible data centers to deploy the microservice based on the relative weight value assigned to each resource and a determined distance value measured by response time between the deployed location of each resource and each possible data center in the set. A data center in the set of possible data centers is selected to deploy the microservice based on the data center having a lowest determined weighted-average response time.