A multi-tenant implementation method and system under a micro-service architecture
An implementation method and technology of microservices, applied in the Internet field, can solve the problems of high maintenance cost, disadvantageous version management and centralized monitoring, and lack of system isolation, so as to improve the utilization rate of resources and save costs.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0063] According to an embodiment of the present invention, a microservice-based multi-tenant implementation method is provided, such as figure 1 shown, including:
[0064] Step 101: Start the microservice, obtain its own tenant label, generate a registration request containing the tenant label, and send the registration request to the registration center;
[0065] According to the embodiment of the present invention, the microservice is deployed to one tenant, or shared to multiple tenants;
[0066] Correspondingly, in step 101, obtain its own tenant label, and generate a registration request containing the tenant label, specifically: the microservice obtains one or more tenant labels of itself in its own configuration file, and generates a request containing one or more tenant labels Tag registration request.
[0067] Usually, when isolation requirements are strict, an independent microservice is deployed for each tenant, and the microservice contains a user label; for som...
Embodiment 2
[0089] According to an embodiment of the present invention, a microservice-based multi-tenant implementation system is provided, such as image 3 As shown, including: microservice 200 and registration center 300;
[0090] Among them, microservices 200, including:
[0091] Start module 201, for starting microservice 200;
[0092] The first acquiring module 202 is configured to acquire the tenant label of the microservice 200 after the startup module 201 starts the microservice 200;
[0093] The first generating module 203 is configured to generate a registration request containing the tenant label obtained by the first obtaining module 202;
[0094] The first sending module 204 is configured to send the registration request generated by the first generating module 203 to the registration center 300;
[0095] The first receiving module 205 is configured to receive the registration success response returned by the registration center 300 after the first sending module 204 send...
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