Spring cloud-based micro-service construction method
A construction method and micro-service technology, applied in the field of program control devices, can solve problems such as lack of peripheral solutions such as registration and discovery, lack of peripheral monitoring integration solutions, and lack of peripheral security management solutions.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0060] A method for building microservices based on Spring cloud, including the following process:
[0061] (1) Parent creation: Create a parent project for unified management of Maven dependencies in the project and add SpringBoot dependencies.
[0062] (2) Service discovery and registration:
[0063] Service discovery is one of the key principles in microservice architecture. It is difficult and fragile to manually configure each client or some form of agreement; using Eureka can guarantee A and P in CAP theory (that is, availability and partition fault tolerance) ;
[0064] The specific steps of service discovery and registration are as follows:
[0065] Build a sub-module for service registration under the parent project, add dependencies on Eureka in the configuration file to create the registry service; add annotations @EnableEurekaServer, @EnableEurekaClient to the startup class code of the registry project, and run it directly The main method of the startup class of...
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