Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Load balancing method and system

A load balancing and server technology, applied in transmission systems, digital transmission systems, special data processing applications, etc., can solve problems such as redundant machines and influence, and achieve the effect of ensuring continuity

Inactive Publication Date: 2015-11-11
INSPUR BEIJING ELECTRONICS INFORMATION IND
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Now is the era of data explosion. For some types of websites, there will be a large number of concurrent requests from users. In this case, if all read and write operations fall on one host, and there is no dependent high-performance architecture It will have a serious impact and even cause redundancy.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Load balancing method and system
  • Load balancing method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] The technical solution of the present invention will be described in more detail below with reference to the drawings and embodiments.

[0054] It should be noted that, if there is no conflict, the embodiments of the present invention and various features in the embodiments can be combined with each other, and all are within the protection scope of the present invention. In addition, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0055] A load balancing method, the method comprising:

[0056] The keepalivednginx master server is detected, and the keepalivednginx master server is detected to fail, and switched to the keepalivednginx backup server;

[0057] When the keepalivednginx master server recovers, switch back to the keepalivednginx master server;

[0058] Before or after the switchover, access to servers at all levels is distributed.

...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a load balancing method. The method comprises steps: a keepalivednginx master server is detected, and when the keepalivednginx master server is detected to have fault, a keepalivednginx backup server is swcithed; when the keepalivednginx master server is recovered, the keepalivednginx master server is switched back; and before switching or after switching, access of the server at each stage is shunted. Requests at the front end are shunted, obvious speed-up effects are generated for systems with many reading requests, the read requests all fall on other machines, the original main engine only provides a writing request, a specified server is switched seamlessly when a source server has fault through a high available architecture, and continuity of service is ensured.

Description

technical field [0001] The invention relates to the field of computer system design and the field of database, in particular to a MYSQL high-availability load balancing architecture design. Background technique [0002] Now is the era of data explosion. For some types of websites, there will be a large number of concurrent requests from users. In this case, if all read and write operations fall on one host, and there is no dependent high-performance architecture It will cause serious impact and even cause redundancy. Contents of the invention [0003] In order to solve the above problems, the present invention provides a load balancing method, the method comprising: [0004] The keepalivednginx master server is detected, and the keepalivednginx master server is detected to fail, and switched to the keepalivednginx backup server; [0005] When the keepalivednginx master server recovers, switch back to the keepalivednginx master server; [0006] Before or after the switch...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/24H04L29/08G06F17/30
Inventor 初贤哲李勋堂杨磊张远斌
Owner INSPUR BEIJING ELECTRONICS INFORMATION IND
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products