PROVIDING MICRO SERVICES ACROSS A SERVICE INFRASTRUCTURE

DE112020002987B4Active Publication Date: 2024-10-17INTERNATIONAL BUSINESS MACHINE CORPORATION
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
DE112020002987
Authority / Receiving Office
DE · DE
Patent Type
Patents
Current Assignee / Owner
Priority Date
2019-09-06
Filing Date
2020-09-01
Publication Date
2024-10-17
Estimated Expiration
2040-09-01

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

A computer-executed method for providing a plurality of microservices across a service infrastructure having a plurality of resources, the method comprising:determining (310) at least one dependency of the plurality of microservices;for each resource of the plurality of resources, determining (320) a failure distribution of the service infrastructure describing an availability of the resource with respect to time;based on the failure distribution associated with each resource and the at least one dependency of the plurality of microservices, determining (330) a deployment configuration of the plurality of microservices across the resources of the service infrastructure, wherein determining the deployment configuration of the plurality of microservices across the resources of the service infrastructure includes, for each resource of the service infrastructure, determining a probability of unavailability of the resource over a predetermined period of time based on the failure distribution associated with the resource;andbased on the probability of unavailability of each resource of the service infrastructure and the at least one dependency of the plurality of microservices, determining (350) the deployment configuration of the plurality of microservices across the resources of the service infrastructure, wherein the deployment configuration minimizes the probability of unavailability of the plurality of microservices;
Need to check novelty before this filing date? Find Prior Art

Description

BACKGROUND The present invention relates generally to microservices in a service infrastructure and, more particularly, to a method for providing a plurality of microservices across a service infrastructure having a plurality of resources. The present invention also relates to a computer program product comprising a computer-readable program code that enables a processor of a system or multiple processors of a network to implement such a method. The present invention further relates to a computer system comprising at least one processor and such a computer program product, wherein the at least one processor is suitable for executing the computer-readable program code of the computer program product. The present invention also relates to a system for providing a plurality of microservices across a service infrastructure having a plurality of resources. In contrast to a traditional on-premises deployment, a traditional software service can also be made available in a hosted cloud service. Implementing a cloud service infrastructure can improve usability and ease of setup, as well as optimize the flexibility and scalability of the infrastructure. Ensuring a cloud service runs with optimal reliability can be beneficial to minimize downtime of the service infrastructure. This can help ensure that service scope agreements—the commitments agreed upon between a service provider and a service recipient—are met. A microservice hosted in a cloud service may occasionally fail, resulting in the redeployment of the failed microservice. During the redeployment period, the failed microservice may experience downtime, during which the microservice is out of service and unavailable for use. The downtime may depend on the system architecture of the cloud service. Other microservices hosted in the cloud service may not be aware of the downtime of the failed microservice and may attempt to resume interaction with the failed microservice. This may cause problems beyond the failed microservice, such as lost transactions.Consequently, problems can arise when a microservice is connected to other failed microservices within the same limited (internal) infrastructure or a remote (external) infrastructure. Microservices and service infrastructures, both internal and external, can become slow or fail. If the connected microservice is not optimally designed to handle this scenario, it can have a negative impact on the performance and stability of the entire service infrastructure (in this example, a cloud service). The performance of a microservice in a system infrastructure can be monitored relative to a predetermined performance threshold. If the microservice's performance falls below expectations, i.e., if the microservice's performance falls below the threshold, the microservice's location can be investigated to determine the cause of the low performance. The microservice can be relocated to another location within the system infrastructure if the original location is found to be the cause of the low performance. This can enable the optimization of the performance of microservices in a system infrastructure; however, this approach may not optimize the microservice's reliability and availability. US 2019 / 0 238 620 A1 describes techniques for allocating and positioning resources. US 2018 / 0 039 565 A1 describes the automatic generation of test inputs for testing microservices of a microservice-based application. US 2019 / 0 057 015 A1 describes methods for detecting defects in microservice-based applications by analyzing error logs and determining the defect probability. US 2017 / 0 199 752 A1 describes the optimization of virtual resource provisioning and the automation of post-processing actions in a cloud environment. SUMMARY The invention is described by the features of the independent claims. Embodiments are specified in the dependent claims. The present invention is intended to provide a computer-executed method for providing a plurality of microservices across a service infrastructure having a plurality of resources. The present invention further aims to provide a computer program product comprising computer program code for implementing a proposed method when executed by a control unit. The present invention is also intended to provide a processing system suitable for executing this computer program code. The present invention is also intended to provide a system for providing a plurality of microservices across a service infrastructure having a plurality of resources. According to one aspect of the present invention, a computer-executable method is provided. The method comprises determining dependencies of a plurality of microservices. For each resource of the service infrastructure, the method further comprises determining a failure distribution describing an availability of the resource over time. Based on the failure distribution associated with each resource and the dependencies of the plurality of microservices, the method then comprises determining a deployment configuration of the plurality of microservices across the resources of the service infrastructure. According to another aspect of the invention, a data processing system is provided. The system comprises an analysis component configured to determine the dependencies of the plurality of microservices. The system further comprises a processing component configured to determine, for each resource of the service infrastructure, a failure distribution that describes an availability of the resource with respect to time. The system further comprises a configuration component configured to determine a deployment configuration of the plurality of microservices across the resources of the service infrastructure based on the failure distribution associated with each resource and the dependencies of the plurality of microservices. According to another aspect of the invention, a computer program product is provided for providing a plurality of microservices across a service infrastructure having a plurality of resources. The computer program product comprises a computer-readable storage medium containing program instructions, wherein the program instructions are executable by a processing unit to cause the processing unit to perform a method according to a proposed embodiment. According to another aspect of the invention, a processing system is provided comprising at least one processor and the computer program product according to one embodiment. The at least one processor is suitable for executing the computer program code of the computer program product. BRIEF DESCRIPTION OF THE DIFFERENT VIEWS OF THE DRAWINGS These and other objects, features, and advantages of the present invention will become apparent from the following detailed description of illustrative embodiments thereof, which is to be read in conjunction with the accompanying drawings. The various features of the drawings are not to scale, since the illustrations are intended to enable those skilled in the art to clearly understand the invention in conjunction with the detailed description. In the drawings: Fig. 1 is a pictorial representation of an exemplary distributed system in which aspects of the illustrative embodiments may be implemented; Fig. 2 is a block diagram of an exemplary system in which aspects of the illustrative embodiments may be implemented; Fig. 3 is a flowchart of a computer-executed method for providing a plurality of microservices across a service infrastructure having a plurality of resources; Fig.4 is a simplified block diagram of an exemplary embodiment of a system for providing a plurality of microservices across a service infrastructure having a plurality of resources; and FIG. 5 is a simplified block diagram of an exemplary embodiment of a system for providing a plurality of microservices across a service infrastructure having a plurality of resources. FIG. 6 is a block diagram of an illustrative cloud computing environment including the computer system depicted in FIG. 1, according to an embodiment of the present disclosure; and FIG. 7 is a block diagram of functional layers of the illustrative cloud computing environment of FIG. 6, according to an embodiment of the present disclosure. DETAILED DESCRIPTION Please note that the figures are merely schematic and not drawn to scale. Please also note that the same reference numerals are used throughout the figures to indicate the same or similar parts. Where, in the context of the present application, embodiments of the present invention represent a method, it should be noted that such a method may be a process for execution by a computer, ie, it may be a method executed on a computer. The various steps of the method may therefore reflect different parts of a computer program, e.g., different parts of one or more algorithms. Also, in the context of the present application, a system may be a single entity or a collection of distributed entities suitable for carrying out one or more embodiments of the methods of the present invention. For example, a system may be a personal computer (PC), a server, or a collection of PCs and / or servers connected via a network such as a local area network, the Internet, and so on, to collectively carry out at least one embodiment of the methods of the present invention. A system may also include thin clients, thick clients, handheld or laptop devices, multiprocessor systems, microprocessor-based systems, network PCs, minicomputer systems, as well as distributed cloud computing environments comprising any of the foregoing systems or entities. Concepts are proposed for deploying a plurality of microservices across a service infrastructure with a plurality of resources. Such concepts may enable the determination of an optimal deployment topology suitable for minimizing the likelihood of a microservice-based service infrastructure experiencing downtime. Accordingly, embodiments may enable the deployment of microservices across a service infrastructure. Embodiments may be implemented in conjunction with statistical techniques, continuous monitoring and / or sampling, and optimization algorithms to determine an optimal deployment configuration of the plurality of microservices. Proposed embodiments may employ a concept that considers various possible failures that may affect the service infrastructure and ensures maximum tolerance to all such failures, weighting them by estimating the statistical distributions of the failures. The inventors propose providing a configuration component. Such a configuration component can be configured to determine a deployment configuration of the plurality of microservices across the resources of the service infrastructure based on a failure distribution associated with each resource and the dependencies of the plurality of microservices. For example, the configuration component can further be configured to determine, for each resource of the service infrastructure, a probability of the resource being unavailable within a predetermined period of time based on the failure distribution associated with the resource.Based on the probability of unavailability for each resource and the dependencies of the plurality of microservices, the configuration component may be configured to determine a deployment configuration of the plurality of microservices across the resources of the service infrastructure. The deployment configuration minimizes the probability of unavailability of the plurality of microservices. Embodiments may thus enable the identification of a preferred deployment configuration of the plurality of microservices that reduces the likelihood of unavailability of the plurality of microservices. This may increase overall availability of the service infrastructure without increasing costs, e.g., by determining the optimal position(s) for deploying one or more microservices such that there is a minimal probability of a critical microservice failing. In a proposed embodiment, determining dependencies between the plurality of microservices may comprise identifying a plurality of different configurations of the plurality of microservices. Each configuration may comprise a corresponding set of microservice instances. For each configuration of the plurality of microservices, the step may further comprise determining a functionality of the respective set of microservice instances and determining a dependency of at least one of the plurality of microservices based on the functionality determined for each configuration. In this way, optimal or preferred configurations of the plurality of microservices may be determined. Based on such configurations, the dependencies of the plurality of microservices may be determined.In this way, the identified dependencies can be optimized, which can improve the efficiency of the service infrastructure. In some embodiments, identifying a plurality of different configurations of the plurality of microservices may include receiving user input to identify a configuration of the plurality of microservices and subsequently identifying a configuration of the plurality of microservices based on the user input. Thus, the configuration of the plurality of microservices may be customized based on user preferences. This may improve the ease of control and adaptability of identifying the configuration, which may consequently improve the ease of control and adaptability of the determined deployment configuration of the plurality of microservices across the resources of the service infrastructure. In some embodiments, determining a functionality of a respective set of microservice instances may include simulating or testing the execution of the set of microservice instances and determining a functionality of the set of microservices based on the results of the simulation or testing. In this way, the respective set of microservice instances that result in a service infrastructure that is considered available may be determined. This allows the dependency of at least one of the plurality of microservices to be determined, thereby optimizing the process of determining a deployment configuration of the plurality of microservices across the resources of the service infrastructure. In a proposed embodiment, determining a failure distribution for a resource may comprise analyzing a service level agreement associated with the resource and / or processing historical failure information concerning the resource's previous availability. In this way, the failure distribution may be extracted directly from a service level agreement (SLA) of the service infrastructure provider. The provider may, for example, be the operator of the infrastructure and / or the manufacturer of the hardware implemented by the infrastructure. Thus, the distribution may be determined based on commitments entered into between the provider and a customer of the service infrastructure, including aspects such as the quality, availability, and responsibilities of the service infrastructure. Furthermore, the distributions may be derived from long-term availability time metrics.This can improve the control simplicity and adaptability of the failure distribution determination process and increase the reliability of the determined distribution. In a proposed embodiment, determining a deployment configuration of the plurality of microservices across the resources of the service infrastructure may comprise, for each resource, determining a probability of unavailability of the resource in a predetermined period of time based on the outage distribution associated with the resource. Based on the probability of unavailability for each resource and the dependencies of the plurality of microservices, the step may further comprise determining a deployment configuration of the plurality of microservices across the resources of the service infrastructure. The deployment configuration may minimize a probability of unavailability of the plurality of microservices. In this way, the probability of unavailability of each resource may be determined.This can make it possible to determine the deployment configuration based on the probability of unavailability of each resource, which can consequently optimize the process of determining the deployment configuration and improve the efficiency of the process. In some embodiments, determining a deployment configuration of the plurality of microservices across the resources of the service infrastructure may include employing a Monte Carlo method to evaluate the unavailability of the plurality of microservices for a plurality of different deployment configurations. In this way, the probability of unavailability of the plurality of microservices for a plurality of different configurations may be evaluated as a cost function. The cost function may enable the use of conventional optimization heuristics, e.g., simulated annealing. The result of the optimization heuristic may be used to deploy the service infrastructure in a manner that minimizes the probability of downtime caused.However, it goes without saying that other methods for assessing unavailability can also be used for different deployment configurations. For example, for simple distributions of availability zone availability times, a statistical analysis can be used instead to calculate a closed-form distribution for the overall distribution. In a proposed embodiment, the method may further comprise monitoring the availability of the plurality of resources of the service infrastructure. The step may further comprise detecting a change in the availability of a resource of the service infrastructure. In response to detecting a change in the availability of a resource of the service infrastructure, the method may further comprise determining a modified deployment of the plurality of microservices across the resources of the service infrastructure. In this way, the service infrastructure can iteratively check for the optimal deployment configuration, whereby the determined deployment configuration can be regularly updated. This can optimize the efficiency of the method and ensure that the deployment configuration is optimized at a current point in time. In one example, a system might have two microservices with the same resource requirements. The two microservices might have multiple instances for high availability. The system might also span three resources, such as data centers, which might be referred to as "availability zones." The traditional approach to improving system availability is to run one instance of each microservice in each data center. This traditional approach therefore requires six instances of microservices. Continuing the example, the three data centers can be referred to as Data Center 1, Data Center 2, and Data Center 3. Data Center 2 and Data Center 3 may have approximately the same reliability, and Data Center 1 may be more reliable than Data Center 2 or Data Center 3. Time can be discretized, and in any time period, each service infrastructure in Data Center n (with n = 1, 2, or 3) may have a probability sn of being down. If a service infrastructure fails, any microservice deployed to the failed service infrastructure may also be down. Furthermore, Data Center n may have a failure probability dn for each data point, where for each n: For simplicity, it can be assumed that for all n: where α can be a predetermined positive constant. A further simplifying assumption can be made, where: where b can be a predetermined positive constant between 0 and 1. In this example, one microservice may be determined to be critical, and the other microservice may be determined to be non-critical. Consequently, two instances of the critical microservice may be assigned to different service infrastructures in Data Center 1, one instance may be assigned to a service infrastructure in Data Center 2, and no instances may be assigned to Data Center 3. The non-critical microservice may have only one instance. This way, the system may require fewer resources than the traditional approach described above, which requires deploying six instances of microservices. In the example, s1 = 0.0001, meaning each service infrastructure in data center 1 has a 99.99% chance of being available. Furthermore, α = 0.001, meaning that data center 1 has a 99.99999% chance of being available. Furthermore, b = 0.01, meaning that data center 2 and data center 3 have a 99.999% chance of being available, and each service infrastructure in data center 2 and data center 3 has a 99% chance of being available. In this example, the inventive method results in an availability probability for the system of 99.99999898000101%, in contrast to a probability for the system of the conventional approach of 99.99999896990403%. This increases the probability of availability by a factor of 9.11, with only two of the three resources being implemented. Fig. 1 depicts a pictorial representation of an exemplary distributed system in which aspects of the illustrative embodiments may be implemented. Distributed system 100 may include a network of computers in which aspects of the illustrative embodiments may be implemented. Distributed system 100 includes at least one network 102, which is the medium used to provide data transmission links between various devices and computers interconnected within distributed computing system 100. Network 102 may include, for example, wired connections, wireless data transmission links, or fiber optic cables. In the illustrated example, a first 104 and a second 106 server and a storage device 108 are connected to the network 102. Clients 110, 112, and 114 are also connected to the network 102. The clients 110, 112, and 114 may be, for example, personal computers, network computers, or the like. In the illustrated example, the first server 104 provides data such as boot files, operating system images, and applications to the clients 110, 112, and 114. In the illustrated example, the clients 110, 112, and 114 are clients of the first server 104. The distributed processing system 100 may include additional servers, clients, and other devices that are not shown. In the illustrated example, the distributed system 100 is the Internet, with network 102 representing a worldwide collection of networks and gateways that use the Transmission Control Protocol / Internet Protocol (TCP / IP) protocol suite to communicate with each other. At the heart of the Internet is a backbone of high-speed data transmission links between major nodes, or host computers, consisting of thousands of commercial, government, educational, and other computer systems that relay data and messages. Of course, the distributed system 100 may also be implemented to include several different types of networks, such as an intranet, a local area network (LAN), a wide area network (WAN), or the like. As stated above, Fig.1 are intended to serve as an example, not as a structural limitation on various embodiments of the present invention, and therefore the particular elements shown in Fig. 1 are not to be considered as limiting the environments in which the illustrative embodiments of the present invention may be practiced. Fig. 2 is a block diagram of an exemplary system 200 in which aspects of the illustrative embodiments may be implemented. System 200 is an example of a computer, such as client 110 in Fig. 1, in which computer-usable code or instructions implementing the processes for illustrative embodiments of the present invention may be located. In the illustrated example, system 200 employs a hub architecture including a north bridge and a memory controller hub (NB / MCH) 202, and a south bridge and an input / output (I / O) controller hub (SB / ICH) 204. A processing unit 206, main memory 208, and a graphics processor 210 are connected to NB / MCH 202. Graphics processor 210 may be connected to NB / MCH 202 via an accelerated graphics port (AGP). In the example shown, a local area network (LAN) adapter 212 is connected to the SB / ICH 204. An audio adapter 216, a keyboard and mouse adapter 220, a modem 222, a read-only memory (ROM) 224, a hard disk drive (HDD) 226, a CD-ROM drive 230, a USB (universal serial bus) and other data transfer ports 232, and PCI / PCIe devices 234 are connected to the SB / ICH 204 via a first bus 238 and a second bus 240. PCI / PCIe devices can include, for example, Ethernet adapters, add-in cards, and PC cards for notebook computers. Unlike PCIe, PCI uses a card bus controller. The ROM 224 can be, for example, a flash basic input / output system (BIOS). The HDD 226 and the CD-ROM drive 230 are connected to the SB / ICH 204 via the second bus 240. The HDD 226 and the CD-ROM drive 230 can use, for example, an IDE (Integrated Drive Electronics) or SATA (Serial Advanced Technology Attachment) interface. A Super I / O (SIO) unit 236 can be connected to the SB / ICH 204. An operating system runs on processing unit 206. The operating system coordinates and provides control of various components within system 200 in Fig. 2. For a client, the operating system may be a commercially available operating system. An object-oriented programming system, such as the Java™ programming system, may run in conjunction with the operating system and provide calls to the operating system from Java™ programs or applications running on system 200. As a server, system 200 may be, for example, an IBM® eServer™ System p® computer system running the Advanced Interactive Executive (AIX®) operating system or the LINUX® operating system. System 200 may be a symmetric multiprocessor (SMP) system having a plurality of processors in processing unit 206. Alternatively, a single-processor system may be used. Instructions for the operating system, the programming system, and applications or programs are located on storage devices such as HDD 226 and can be loaded into main memory 208 for execution by processing unit 206. Similarly, one or more message processing programs may be adapted to be stored by the storage devices and / or main memory 208, according to one embodiment. The processes for illustrative embodiments of the present invention may be performed by processing unit 206 using computer usable program code that may be located in a memory such as main memory 208, ROM 224, or one or more peripheral units 226 and 230, respectively. A bus system, such as the first bus 238 or the second bus 240 shown in Fig. 2, may include one or more buses. Of course, the bus system may be implemented using any type of communication fabric or architecture that provides for the transfer of data between components or devices connected to the fabric or architecture. A data transmission device, such as the modem 222 or the network adapter 212 of Fig. 2, may include one or more devices used to transmit and receive data. Memory may be, for example, main memory 208, ROM 224, or a cache such as that located in the NB / MCH 202 in Fig. 2. One skilled in the art will understand that the hardware in Figs. 1 and 2 may vary depending on the implementation. In addition to or in place of the hardware depicted in Figs. 1 and 2, other internal hardware or peripheral devices may be used, such as flash memory, equivalent non-volatile memory, optical disk drives, and the like. Likewise, the processes of the illustrative embodiments may be applied to a multiprocessor data processing system other than the aforementioned system without departing from the spirit and scope of the present invention. Furthermore, system 200 may take the form of any of a variety of computing systems, including client computing devices, server computing devices, a tablet computer, a laptop computer, a telephone or other data transmission device, a personal digital assistant (PDA), or the like. In some illustrative examples, system 200 may, for example, be a portable computing device configured with flash memory to provide non-volatile memory for storing operating system files and / or user-generated data. Thus, system 200 may be essentially any computing system now known or later developed without structural limitations. Referring to Fig. 3, a flowchart of a computer-executed method for providing a plurality of microservices across a service infrastructure having a plurality of resources is shown. Step 310 comprises determining dependencies of a plurality of microservices. In one embodiment, determining the dependencies of the plurality of microservices comprises identifying a plurality of different configurations of the plurality of microservices. Each configuration comprises a corresponding set of microservice instances. For each configuration of the plurality of microservices, the step further comprises determining a functionality of the respective set of microservice instances and determining a dependency of at least one of the plurality of microservices based on the functionality determined for each configuration. For example, M is the plurality of microservices comprising the service infrastructure. Examples of microservices include containers, virtual machines, or any other virtualized environment. The subsets of M, i.e., the configurations of the plurality of microservices, that result in a service infrastructure that functions as required, i.e., is considered available, must be determined. Several different elements of M, i.e., microservices, may be the same component having multiple instances. The subsets of M that result in a service infrastructure that functions as required can be formulated as having to determine a function: where: if and only if a service infrastructure in which only the microservices of S are available would be considered functioning. In one embodiment, identifying a plurality of different configurations of the plurality of microservices comprises receiving user input to identify a configuration of the plurality of microservices and subsequently identifying a configuration of the plurality of microservices based on the user input. In the example, the method for determining f may involve the user, e.g., a product architect, manually entering possible acceptable sentences. It is not necessary to enumerate all elements of ℘(M), i.e., subsets of M, since: such that y is a superset of x, and: such that y is a subset of x. In one embodiment, determining a functionality of a respective set of microservice instances comprises simulating or testing the execution of the set of microservice instances and determining a functionality of the set of microservices based on the results of the simulation or testing. In the example, the method for determining f may involve ensuring that there is a relatively comprehensive system test suite and then using this suite to empirically determine which microservices are considered critical to the performance of the service infrastructure and which are not. This can be achieved by iteratively traversing each container, shutting down each container, re-running the test suite, and using the results to determine whether the microservice should remain in a critical set—that is, a set of microservices considered critical to the performance of the service infrastructure. This approach implicitly assumes that the partially ordered set: has a minimum element—that is, a microservice. If this assumption does not hold, stochastic techniques can be used instead to determine the position of each of the minimum elements. Step 320 comprises determining, for each resource of the service infrastructure, a failure distribution that describes the availability of the resource over time. In one embodiment, determining a failure distribution for a resource comprises analyzing a service scope agreement associated with the resource and / or processing historical failure information related to the resource's previous availability. In the example, a hierarchy of multiple resources is created. The hierarchy represents "availability zones" of different levels. Each availability zone is assigned a failure distribution, i.e., a distribution of downtime. The hierarchy of multiple resources can include each physical server, where each physical server has a failure distribution with a 1% probability of being down for 3 hours (until physical replacement) and a 0% probability for everything else. The hierarchy can also include a data center containing many servers, where each server has a failure distribution with a 0.001% chance of being down for 5 hours and a 0.01% chance of being down for 10 minutes, with a linear distribution between the two data points.The hierarchy may also include a power grid that covers many data centers and / or a network that spans multiple data centers but does not necessarily coincide with the boundaries of the power grid. In the example, the outage distributions can be taken directly from the service scope agreement associated with the resource, e.g., from operators of the service infrastructure and / or manufacturers of the hardware used. The outage distributions can also be derived from long-term availability time metrics. Step 330 includes determining a deployment configuration of the plurality of microservices across the resources of the service infrastructure based on the failure distribution associated with each resource and the dependencies of the plurality of microservices. In one embodiment, determining a deployment configuration of the plurality of microservices across the resources of the service infrastructure comprises, for each resource, determining a probability of unavailability of the resource in a predetermined period of time based on the outage distribution associated with the resource. Based on the probability of unavailability for each resource and the dependencies of the plurality of microservices, the step further comprises determining a deployment configuration of the plurality of microservices across the resources of the service infrastructure. The deployment configuration minimizes a probability of unavailability of the plurality of microservices. In one embodiment, determining a deployment configuration of the plurality of microservices across the resources of the service infrastructure comprises employing a Monte Carlo method to evaluate the unavailability of the plurality of microservices for a plurality of different deployment configurations. In the example, based on the determined deployment configuration of the majority of microservices across the resources of the service infrastructure, the probability of a downtime occurrence—that is, the unavailability of the majority of microservices within a predetermined period—is calculated. The unavailability is calculated using a Monte Carlo method, which allows a probability to be determined instead of a distribution. It is assumed that the service infrastructure is capable of recovering by redeploying new instances to replace failed, i.e., crashed, instances, but that a relatively small but damaging downtime will occur if any of the critical set of microservices loses all of its instances. For example, the downtime might be 30 seconds (from the time the error is detected until a backup service is started). However, this can depend heavily on the system involved, and so the downtime in other examples might be much higher or much lower. In one embodiment, step 340 comprises monitoring the availability of the plurality of resources of the service infrastructure. Step 345 comprises detecting a change in the availability of a resource of the service infrastructure. In response to detecting a change in the availability of a resource of the service infrastructure, step 350 comprises determining a modified deployment of the plurality of microservices across the resources of the service infrastructure. Referring now to Fig. 4, a simplified block diagram of an exemplary embodiment of a system for providing a plurality of microservices across a service infrastructure having a plurality of resources is depicted. The system includes an analysis component 410 configured to determine the dependencies of the plurality of microservices. The system further includes a processing component 420 configured to determine, for each resource of the service infrastructure, a failure distribution that describes an availability of the resource over time. The system further includes a configuration component 430 configured to determine a deployment configuration of the plurality of microservices across the resources of the service infrastructure based on the failure distribution associated with each resource and the dependencies of the plurality of microservices. In one embodiment, the analysis component 410 includes an identification component 412 configured to identify a plurality of different configurations of the plurality of microservices. Each configuration includes a corresponding set of microservice instances. The analysis component 410 further includes a functionality evaluation component 414 configured to determine, for each configuration of the plurality of microservices, a functionality of the respective set of microservice instances. The analysis component 410 also includes a data analysis component 416 for determining a dependency of at least one of the plurality of microservices based on the determined functionality for each configuration. In one embodiment, the identification component 412 is further configured to receive user input for identifying a configuration of the plurality of microservices and to identify a configuration of the plurality of microservices based on the user input. In one embodiment, the functionality evaluation component 414 is further configured to simulate or test the execution of the set of microservice instances and to determine a functionality of the set of microservices based on the results of the simulation or testing. In one embodiment, the processing component 420 is further configured to analyze a service level agreement associated with the resource and to process historical outage information related to the previous availability of the resource. In one embodiment, configuration component 430 is further configured to determine, for each resource, a probability of unavailability of the resource within a predetermined period of time based on the failure distribution associated with the resource. Based on the probability of unavailability for each resource and the dependencies of the plurality of microservices, configuration component 430 is further configured to determine a deployment configuration of the plurality of microservices across the resources of the service infrastructure. The deployment configuration minimizes a probability of unavailability of the plurality of microservices.The configuration component 430 is also configured to use a Monte Carlo method to evaluate the unavailability of the plurality of microservices for a plurality of different deployment configurations. In one embodiment, the system may further include a monitoring component 440 configured to monitor the availability of the plurality of resources of the service infrastructure to detect a change in the availability of a resource of the service infrastructure. The configuration component 430 is further configured to determine a modified deployment of the plurality of microservices across the resources of the service infrastructure in response to a detected change in the availability of a resource of the service infrastructure. As another example, as illustrated in Fig. 5, embodiments may include a computer system 70, which may be part of a networked system 7. The components of the computer system / server 70 may include, but are not limited to, one or more processing devices, such as processors or processing units 71, a system memory 74, and a bus 90 that connects various system components, including the system memory 74, to the processing unit 71. Processing unit 71 is configured to define a target object type; the target object type is configured to contain results of a middleware function. Furthermore, processing unit 71 is configured to receive a first object for an application and then perform a process of the middleware function using the first object to generate a process result. Based on the process result, processing unit 71 is configured to generate a second object of the target object type and provide the second object to the application. Bus 90 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus, using any of a variety of bus architectures. Such architectures include, by way of example and not limitation, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MCA) bus, an Enhanced ISA (EISA) bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus. The computer system / server 70 typically includes a variety of media readable by a computer system. Such media may be any available media accessible by the computer system / server 70 and includes both volatile and non-volatile media, removable and non-removable media. The system memory 74 may include computer system-readable media in the form of volatile memory, such as random access memory (RAM) 75 and / or cache memory 76. The computer system / server 70 may also include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 74 may be provided for reading from and writing to a non-removable, non-volatile magnetic medium (not shown and commonly called a "hard disk drive"). A magnetic disk drive may also be provided for reading from and writing to a removable, non-volatile magnetic disk (e.g.,Although not shown, system memory 74 may include a removable, non-volatile optical disk drive (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, non-volatile optical disk such as a CD-ROM, DVD-ROM, or other optical medium. In such cases, they may each be connected to bus 90 via one or more data media interfaces. As further depicted and described below, system memory 74 may include at least one program product having a set of program modules (e.g., at least one) configured to perform the functions of embodiments of the invention. By way of example, and not by way of limitation, a program / utility 78 having (at least) one set of program modules 79, as well as an operating system, one or more application programs, other program modules, and program data may be stored in system memory 74. The operating system, the one or more application programs, other program modules, and program data, or any combination thereof, may each comprise an implementation of a network environment. The program modules 79 generally perform the functions and / or methodologies of embodiments of the invention described herein. The computer system / server 70 may also communicate with one or more external devices 80 such as a keyboard, a pointing device, a display 85, etc., one or more devices that enable a user to interact with the computer system / server 70, and / or any devices (e.g., network cards, modems, etc.) that enable the computer system / server 70 to communicate with one or more other computing devices. Such communication may occur via input / output (I / O) interfaces 72. In addition, the computer system / server 70 may communicate with one or more networks, such as a local area network (LAN), a general wide area network (WAN), and / or a public network (e.g., the Internet), via a network adapter 73. As illustrated, the network adapter 73 communicates with the other components of the computer system / server 70 via the bus 90.It should be understood that other hardware and / or software components, even if not shown, could be used in conjunction with the computer system / server 70. Examples include, but are not limited to, microcode, device drivers, redundant processing units, external hard disk drive arrays, RAID systems, tape drives, and data archiving storage systems, etc. Wherever, in the context of the present application, embodiments of the present invention represent a method, it should be noted that such a method is a process for execution by a computer, ie, it is a method executed on a computer. The various steps of the method therefore reflect different parts of a computer program, e.g., different parts of one or more algorithms. The present invention may be a system, a method, and / or a computer program product. The computer program product may include a computer-readable storage medium (or media) having computer-readable program instructions embodied thereon for causing a processor to perform aspects of the present invention. The computer-readable storage medium may be any physical device capable of retaining and storing instructions for use by an instruction-executing system. The computer-readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination thereof. A non-exhaustive list of more specific examples of the computer-readable storage medium includes the following: a portable computer diskette, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM).Flash memory), storage class memory (SCM), static random access memory (SRAM), portable compact disk read-only memory (CD-ROM), digital versatile disc (DVD), memory stick, floppy disk, a mechanically encoded device such as punched cards or raised structures in a groove on which instructions are stored, and any suitable combination thereof. A computer-readable storage medium, as used herein, shall not be construed as carrying transient signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., pulses of light traveling through fiber optic cables), or electrical signals carried through a wire. Computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to respective computing / processing units or to an external computer or storage unit via a network such as the Internet, a local area network, a wide area network, and / or a wireless network. The network may include copper transmission cables, fiber optic transmission lines, wireless transmission, routers, firewalls, switching units, gateway computers, and / or edge servers. A network adapter card or network interface in each computing / processing unit receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium within the respective computing / processing unit. Computer-readable program instructions for performing operations of the present invention may be assembly language instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state-setting data, or either source code or object code written in any combination of one or more programming languages, including object-oriented programming languages such as Smalltalk, C++, or the like, as well as conventional procedural programming languages such as the C programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server.In the latter case, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, over the Internet using an Internet service provider). In some embodiments, electronic circuits, including, for example, programmable logic circuits, field programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), may execute the computer-readable program instructions by utilizing state information of the computer-readable program instructions to personalize the electronic circuits to perform aspects of the present invention. Aspects of the present invention are described herein with reference to flowcharts and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It should be understood that each block of the flowcharts and / or block diagrams, as well as combinations of blocks in the flowcharts and / or block diagrams, may be implemented by computer-readable program instructions. These computer-readable program instructions may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine such that the instructions, executed by the processor of the computer or other programmable data processing device, produce a means for implementing the functions / steps defined in the flowchart block(s) and / or block diagrams.These computer-readable program instructions may also be stored on a computer-readable storage medium that can direct a computer, a programmable data processing apparatus, and / or other devices to function in a particular manner, such that the computer-readable storage medium having instructions stored thereon comprises an article of manufacture, including instructions that implement aspects of the function / step specified in the flowchart block(s) and / or block diagrams. The computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of process steps to be performed on the computer, other programmable apparatus, or other device to produce a computer-executable process such that the instructions executing on the computer, other programmable apparatus, or other device implement the functions / steps defined in the block(s) of flowcharts and / or block diagrams. The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowcharts or block diagrams may represent a module, segment, or portion of instructions comprising one or more executable instructions for performing the particular logical function(s). In some alternative implementations, the functions specified in the block may occur in a different order than shown in the figures. For example, two blocks shown in succession may actually execute substantially concurrently, or the blocks may sometimes execute in reverse order depending on the corresponding functionality.It is further understood that each block of the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by special purpose hardware-based systems that perform the specified functions or steps, or by combinations of special purpose hardware and computer instructions. It should be understood that, although this disclosure includes a detailed description of cloud computing, implementation of the teachings herein is not limited to a cloud computing environment. Rather, embodiments of the present invention may be practiced in conjunction with any type of computing environment now known or later invented. Cloud computing is a service delivery model for enabling seamless, on-demand network access to a shared pool of configurable computing resources (e.g., networks, network bandwidth, servers, processing, memory, storage, applications, virtual machines, and services) that can be rapidly provisioned and released with minimal management effort or interaction with a service provider. This cloud model can include at least five characteristics, at least three service models, and at least four implementation models. The characteristics are as follows: On-Demand Self-Service: A cloud user can unilaterally and automatically provision computing functions such as server time and network storage as needed, without requiring human interaction with the service provider. Broad Network Access: Functions are available over a network and accessed through standard mechanisms that support use by heterogeneous thin- or thick-client platforms (e.g., mobile phones, laptops, and PDAs). Resource Pooling: The provider's computing resources are pooled to serve multiple users using a multi-tenant model, with various physical and virtual resources dynamically allocated and reassigned as needed. There is a perceived location independence, as the user generally has no control or decision-making power.Has knowledge of the exact location of the provisioned resources, but may be able to specify a location at a higher level of abstraction (e.g., country, state, or data center).Rapid Elasticity: Features can be provisioned quickly and elastically, in some cases automatically, for rapid horizontal scaling out, and released quickly for rapid scale-in. To the user, the features available for provisioning often appear unlimited, and they can be purchased in any quantity at any time.Measured Service: Cloud systems automatically control and optimize the use of resources by leveraging a metering function at some level of abstraction appropriate for the type of service (e.g., storage, processing, bandwidth, and active user accounts).Resource usage can be monitored, controlled and reported, creating transparency for both the provider and the user of the service used. The service models are as follows: Software as a Service (SaaS): The functionality provided to the user is to use the provider's applications running on a cloud infrastructure. The applications are accessible from various client devices via a thin client interface such as a web browser (e.g., web-based email). The user does not manage or control the underlying cloud infrastructure, including the network, servers, operating systems, storage, or even individual application functions, with the possible exception of limited user-specific application configuration settings. Platform as a Service (PaaS): The functionality provided to the user is to deploy applications created or obtained by a user, which were created using programming languages and tools supported by the provider, on the cloud infrastructure. The user manages ordoes not control the underlying cloud infrastructure, including networks, servers, operating systems, or storage, but has control over the deployed applications and possibly over configurations of the application hosting environment. Infrastructure as a Service (IaaS): The functionality provided to the user is to provide processing, storage, networking, and other basic computing resources, whereby the user is able to deploy and run arbitrary software, which may include operating systems and applications. The user does not manage or control the underlying cloud infrastructure, but has control over operating systems, storage, deployed applications, and possibly limited control over selected network components (e.g., host firewalls). The deployment models are as follows: Private Cloud: The cloud infrastructure is operated solely for an organization. It can be managed by the organization or a third party and can be located on its own premises or on a third-party premises. Community Cloud: The cloud infrastructure is shared by multiple organizations and supports a specific user community with common concerns (e.g., mission, security requirements, policies, and compliance considerations). It can be managed by the organizations or a third party and can be located on its own premises or on a third-party premises. Public Cloud: The cloud infrastructure is made available to the general public or a large industry group and is owned by an organization that sells cloud services.Hybrid Cloud: Cloud infrastructure is a composition of two or more clouds (private, community, or public) that remain separate entities but are interconnected by a standardized or proprietary technology that enables data and application portability (e.g., cloud targeting for load balancing between clouds). A cloud computing environment is service-oriented, focusing on state independence, low coupling, modularity, and semantic interoperability. At the heart of cloud computing lies an infrastructure consisting of a network of interconnected nodes. Referring to Fig. 6, an illustrative cloud computing environment 1000 is depicted. As shown, the cloud computing environment 1000 includes one or more cloud computing nodes 101 with which local computing devices used by cloud users, such as a personal digital assistant (PDA) or mobile phone 1000A, a desktop computer 1000B, a laptop computer 1000C, and / or an automotive computer system 1000N, can communicate. The nodes 101 can communicate with each other. They can be physically or virtually grouped into one or more networks, such as private, community, public, or hybrid clouds (not shown), as described above, or a combination thereof.This enables the cloud computing environment 1000 to offer infrastructure, platforms, and / or software as a service, for which a cloud user does not need to maintain resources on a local computing device. It should be noted that the types of computing devices 1000A through N shown in Fig. 6 are merely illustrative, and that the computing nodes 101 and the cloud computing environment 1000 may communicate with any type of computer-based device via any type of network and / or via any type of network-accessible connection (e.g., using a web browser). Referring to Fig. 7, a set of functional abstraction layers 1100 provided by the cloud computing environment 1000 is shown. It should be understood from the outset that the components, layers, and functions shown in Fig. 7 are intended to be illustrative only, and embodiments of the invention are not limited thereto. As depicted, the following layers and corresponding functions are provided: A hardware and software layer 1102 includes hardware and software components. Examples of hardware components include: mainframe computers 1104; Reduced Instruction Set Computer (RISC) architecture-based servers 1106; servers 1108; blade servers 1110; storage devices 1112; and networks and network components 1114. In some embodiments, software components include network application server software 1116 and database software 1118. A virtualization layer 1120 provides an abstraction layer from which the following examples of virtual entities may be provided: virtual servers 1122, virtual storage 1124, virtual networks 1126, including virtual private networks, virtual applications and operating systems 1128; and virtual clients 1130. In one example, a management layer 1132 may provide the functions described below. Resource provisioning 1134 provides for the dynamic procurement of computing resources and other resources used to perform tasks within the cloud computing environment. Metering and pricing 1136 provides cost tracking for using resources within the cloud computing environment, as well as billing or invoicing for the consumption of those resources. In one example, these resources may include application software licenses. Security provides identity verification for cloud users and tasks, as well as protection for data and other resources. A user portal 1138 provides users and system administrators with access to the cloud computing environment.Service level management 1140 provides for the allocation and management of cloud computing resources so that the required service objectives are met. Service level agreement (SLA) planning and fulfillment 1142 provides for the pre-ordering and procurement of cloud computing resources for which future demand is anticipated, according to an SLA. A workload layer 1144 provides examples of the functionality for which the cloud computing environment can be used. Examples of workloads and functions that can be provided by this layer include: mapping and navigation 1146; software development and lifecycle management 1148; providing education in virtual classrooms 1150; data analytics processing 1152; transaction processing 1154; and deploying a plurality of microservices across a service infrastructure with a plurality of resources 1156. The descriptions of the various embodiments of the present invention have been presented for the purpose of illustration, but are not intended to be exhaustive or limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein has been chosen to best explain the principles of the embodiments, practical application, or technical improvement over technologies found in the marketplace, or to enable others skilled in the art to understand the embodiments presented herein.

Claims

A computer-executed method for providing a plurality of microservices across a service infrastructure having a plurality of resources, the method comprising:determining (310) at least one dependency of the plurality of microservices;for each resource of the plurality of resources, determining (320) a failure distribution of the service infrastructure describing an availability of the resource with respect to time;based on the failure distribution associated with each resource and the at least one dependency of the plurality of microservices, determining (330) a deployment configuration of the plurality of microservices across the resources of the service infrastructure, wherein determining the deployment configuration of the plurality of microservices across the resources of the service infrastructure includes, for each resource of the service infrastructure, determining a probability of unavailability of the resource over a predetermined period of time based on the failure distribution associated with the resource;andbased on the probability of unavailability of each resource of the service infrastructure and the at least one dependency of the plurality of microservices, determining (350) the deployment configuration of the plurality of microservices across the resources of the service infrastructure, wherein the deployment configuration minimizes the probability of unavailability of the plurality of microservices; The computer-executed method of claim 1, wherein determining at least one dependency of the plurality of microservices comprises:identifying a plurality of different configurations of the plurality of microservices, each of the plurality of different configurations having a corresponding set of microservice instances;determining a functionality of the respective set of microservice instances for each of the plurality of different configurations of the plurality of microservices; andbased on the determined functionality of the respective set of microservice instances for each of the plurality of different configurations, determining a dependency of at least one of the plurality of microservices. The computer-executed method of claim 2, wherein determining a functionality of the respective set of microservice instances comprises: simulating or testing the execution of the respective set of microservice instances; and determining a functionality of the respective set of microservice instances based on the results of the simulation or testing. The computer-executed method of claim 2, wherein identifying the plurality of different configurations of the plurality of microservices comprises:receiving user input related to identifying a configuration of each of the plurality of microservices; andidentifying the configuration of each of the plurality of microservices based on the user input. The computer-executed method of claim 1, wherein determining the deployment configuration of the plurality of microservices across the resources of the service infrastructure comprises employing a Monte Carlo method to evaluate the unavailability of the plurality of microservices for a plurality of different deployment configurations. The computer-executed method of claim 1, further comprising:monitoring an availability of the plurality of service infrastructure resources to detect a change in the availability of a service infrastructure resource; andin response to detecting a change in the availability of the service infrastructure resource, determining a modified deployment of the plurality of microservices across the plurality of service infrastructure resources. The computer-implemented method of claim 1, wherein determining the outage distribution comprises: analyzing a service level agreement associated with each of the plurality of resources; and / or processing a plurality of historical outage information relating to a previous availability of the resource. A computer system (70) for providing a plurality of microservices across a service infrastructure having a plurality of resources, comprising: one or more processors, one or more computer-readable memories, one or more computer-readable physical storage media, and program instructions stored on at least one of the one or more computer-readable physical storage media for execution by at least one of the one or more processors via at least one of the one or more computer-readable memories, the computer system (70) being capable of performing a method comprising: determining at least one dependency of the plurality of microservices; for each resource of the plurality of resources, determining a failure distribution describing an availability of the resource with respect to time;based on the failure distribution associated with each resource and the at least one dependency of the plurality of microservices, determining a deployment configuration of the plurality of microservices across the resources of the service infrastructure, wherein determining the deployment configuration of the plurality of microservices across the resources of the service infrastructure includes, for each resource of the service infrastructure, determining a probability of unavailability of the resource over a predetermined period of time based on the failure distribution associated with the resource;andbased on the probability of unavailability of each resource of the service infrastructure and the at least one dependency of the plurality of microservices, determining the deployment configuration of the plurality of microservices across the resources of the service infrastructure, wherein the deployment configuration minimizes the probability of unavailability of the plurality of microservices; The computer system (70) of claim 8, wherein determining at least one dependency of the plurality of microservices comprises: identifying a plurality of different configurations of the plurality of microservices, each of the plurality of different configurations having a corresponding set of microservice instances; determining a functionality of the respective set of microservice instances for each of the plurality of different configurations of the plurality of microservices; and based on the determined functionality of the respective set of microservice instances for each of the plurality of different configurations, determining a dependency of at least one of the plurality of microservices. The computer system (70) of claim 9, wherein determining a functionality of the respective set of microservice instances comprises: simulating or testing the execution of the respective set of microservice instances; and determining a functionality of the respective set of microservice instances based on the results of the simulation or testing. The computer system (70) of claim 9, wherein identifying the plurality of different configurations of the plurality of microservices comprises: receiving user input related to identifying a configuration of each of the plurality of microservices; and identifying the configuration of each of the plurality of microservices based on the user input. The computer system (70) of claim 7, wherein determining the deployment configuration of the plurality of microservices across the resources of the service infrastructure comprises employing a Monte Carlo method to evaluate the unavailability of the plurality of microservices for a plurality of different deployment configurations. The computer system (70) of claim 8, further comprising:monitoring an availability of the plurality of service infrastructure resources to detect a change in the availability of a service infrastructure resource; andin response to detecting a change in the availability of the service infrastructure resource, determining a modified deployment of the plurality of microservices across the plurality of service infrastructure resources. The computer system (70) of claim 8, wherein determining the outage distribution comprises: analyzing a service level agreement associated with each of the plurality of resources; and / or processing a plurality of historical outage information relating to a previous availability of the resource. A computer program product for providing a plurality of microservices across a service infrastructure having a plurality of resources, comprising:one or more non-transitory, computer-readable storage media and program instructions stored on at least one of the one or more physical storage media, the program instructions being executable by a processor to cause the processor to perform a method comprising:determining at least one dependency of the plurality of microservices;for each resource of the plurality of resources, determining a failure distribution describing an availability of the resource with respect to time;based on the failure distribution associated with each resource and the at least one dependency of the plurality of microservices, determining a deployment configuration of the plurality of microservices across the resources of the service infrastructure, wherein determining the deployment configuration of the plurality of microservices across the resources of the service infrastructure includes, for each resource of the service infrastructure, determining a probability of unavailability of the resource over a predetermined period of time based on the failure distribution associated with the resource;andbased on the probability of unavailability of each resource of the service infrastructure and the at least one dependency of the plurality of microservices, determining the deployment configuration of the plurality of microservices across the resources of the service infrastructure, wherein the deployment configuration minimizes the probability of unavailability of the plurality of microservices; The computer program product of claim 15, wherein determining at least one dependency of the plurality of microservices comprises: identifying a plurality of different configurations of the plurality of microservices, each of the plurality of different configurations having a corresponding set of microservice instances; determining a functionality of the respective set of microservice instances for each of the plurality of different configurations of the plurality of microservices; and based on the determined functionality of the respective set of microservice instances for each of the plurality of different configurations, determining a dependency of at least one of the plurality of microservices. The computer program product of claim 16, wherein determining a functionality of the respective set of microservice instances comprises: simulating or testing the execution of the respective set of microservice instances; and determining a functionality of the respective set of microservice instances based on the results of the simulation or testing. The computer program product of claim 16, wherein identifying the plurality of different configurations of the plurality of microservices comprises: receiving user input related to identifying a configuration of each of the plurality of microservices; and identifying the configuration of each of the plurality of microservices based on the user input.

Citation Information

Patent Citations

  • Optimizing the deployment of virtual resources and automating post-deployment actions in a cloud environment

    US20170199752A1

  • Automated test input generation for integration testing of microservice-based web applications

    US20180039565A1

  • Predicting defects in software systems hosted in cloud infrastructures

    US20190057015A1

  • Resource Position Planning for Distributed Demand Satisfaction

    US20190238620A1