Microservice application arrangement and deployment method and device and computer terminal
A computer terminal and application deployment technology, applied in the container field, can solve problems such as difficulty in starting the sequence, and achieve the effect of lowering the threshold of use
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0054] figure 1 It is a schematic flow diagram of a microservice application orchestration and deployment method proposed in the first embodiment of the present invention. The microservice application orchestration and deployment methods include:
[0055] Step S110: Read a pre-stored dependency tree of a microservice application.
[0056] When deploying a new microservice application, read the dependency tree of the microservice application that has been stored in the database, and analyze the read dependency tree to obtain information about all nodes in the dependency tree and all The connection relationship between nodes.
[0057] Step S120, traverse all nodes in the dependency tree according to preset rules and determine the startup sequence of all nodes.
[0058] Such as figure 2 As shown, microservice application 1 relies on microservice application 2, cache, database 1, and database 2, microservice application 2 relies on microservice application 3, self-service distributed ve...
Embodiment 2
[0101] Figure 4 This is a schematic flow diagram of a microservice application orchestration and deployment method proposed in the second embodiment of the present invention.
[0102] Step S210: Obtain basic information of the microservice application.
[0103] Step S220: Determine whether the microservice application depends on other applications.
[0104] In this embodiment, the other applications include intermediate components and other microservice applications. If the microservice application depends on other applications, proceed to step S230; if the microservice application does not depend on other applications, proceed to step S270.
[0105] Step S230: Construct and store a dependency relationship tree according to the dependency relationship of the microservice application.
[0106] E.g, figure 2 The dependency between the microservice application 1 and the intermediate components and other microservice applications shown in.
[0107] When there is a dependency relationship ...
Embodiment 3
[0143] Image 6 It is a schematic structural diagram of a microservice application orchestration and deployment apparatus proposed by an embodiment of the present invention. The microservice application orchestration and deployment device 10 includes: a reading module 110, a traversal module 120, and a deployment module 130.
[0144] The reading module 110 is configured to read a pre-stored dependency tree of a microservice application, where the microservice application is the root node of the dependency tree.
[0145] The traversal module 120 is configured to traverse all nodes in the dependency tree according to preset rules and determine the startup sequence of all nodes.
[0146] The deployment module 130 is configured to deploy applications corresponding to all nodes to the operating environment according to the startup sequence, so as to complete the deployment of the microservice application.
[0147] This embodiment also proposes a computer terminal. The computer terminal inc...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com