High-availability application program architecture and construction method
An application program and high-availability technology, applied in the direction of digital transmission system, electrical components, transmission system, etc., can solve the problems that the system cannot provide user access, affect the normal use of users, and reduce the user experience, so as to ensure high availability and high capacity Disaster, reduce loss, reduce the effect of coupling degree
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] figure 1 It shows the high-availability application architecture provided by the embodiment of the present invention, specifically including: the application program and at least two servers in the same network segment;
[0037] The application is deployed on the tomcat of at least two servers, and the session shared file package of the application is configured in the lib directory of tomcat;
[0038] Two servers jointly build a redis cluster environment, and the session sharing between the two applications is realized through the redis cluster; each server is installed with nginx and active / standby keepalived, each nginx configures the load balancing of the application, and each keepalived provides A virtual IP on the same network segment.
[0039] The basic principle of this solution is: use keepalived to bind the virtual IP feature, when accessing the virtual IP, it will directly access the server bound to the virtual IP, so that you can access the nginx applicatio...
Embodiment 2
[0046] The high-availability application architecture provided by this solution needs to be deployed on at least two servers on the same network segment, and nginx and keepalived must be deployed and installed on the same server, and two keepaliveds provide a virtual IP on the same network segment externally. The two nginx are respectively configured to load balance the two applications, and finally the session sharing between the two applications is realized through the redis cluster.
[0047] Combine below figure 2 with image 3 , give the high-availability architecture of the application cluster provided by this solution, including the application program and at least two servers;
[0048] The application is deployed on the tomcat of at least two servers, and the application configures the session sharing of the application;
[0049] At least two servers are in the same network segment, and the redis cluster environment, application server, nginx and active and standby kee...
Embodiment 3
[0060] Combine below Figure 4 , giving the method flow for building a high-availability application architecture in this scheme:
[0061] Step 301: Deploy the application program on the tomcat of the two servers respectively, and the two servers are in the same network segment;
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