Method for realizing OpenResty dynamic load balancing based on Consul
A dynamic load and balancing technology, applied in the direction of resource allocation, program control design, instruments, etc., can solve the problem that the server cannot be dynamically changed, and achieve the effect of reducing time consumption and improving efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0015] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0016] Consul is a service grid (TCP / IP between microservices, responsible for network calls, current limiting, fusing and monitoring between services) solution. It is a distributed, highly available system, and it is very easy to develop and use. easy. It provides a full-featured control plane, the main features are: service discovery, health check, key-value storage, secure service communication, multi-data center.
[0017] See figure 1 and figure 2 , the method for implementing OpenResty dynamic load balancing based on Consul provided by the present invention comprises the following steps:
[0018] S1) When a server is started, the registration information of the server is accepted through the Consul center, and the server ip is obtained through the Consul interface call;
[0019] S2) When a server is closed, accept the closing information of th...
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