KR101758065B1 - Load balancing system, method for controlling the same and recording medium for performing the ethod - Google Patents
Load balancing system, method for controlling the same and recording medium for performing the ethod Download PDFInfo
- Publication number
- KR101758065B1 KR101758065B1 KR1020160024282A KR20160024282A KR101758065B1 KR 101758065 B1 KR101758065 B1 KR 101758065B1 KR 1020160024282 A KR1020160024282 A KR 1020160024282A KR 20160024282 A KR20160024282 A KR 20160024282A KR 101758065 B1 KR101758065 B1 KR 101758065B1
- Authority
- KR
- South Korea
- Prior art keywords
- server
- information
- dlp
- dlp server
- usage
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
- H04L67/1004—Server selection for load balancing
- H04L67/1008—Server selection for load balancing based on parameters of servers, e.g. available memory or workload
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/02—Standardisation; Integration
- H04L41/0213—Standardised network management protocols, e.g. simple network management protocol [SNMP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/54—Store-and-forward switching systems
- H04L12/56—Packet switching systems
- H04L12/5601—Transfer mode dependent, e.g. ATM
- H04L2012/5678—Traffic aspects, e.g. arbitration, load balancing, smoothing, buffer management
Abstract
The present invention provides a load balancing system.
A DLP server for generating DLP server information; a DLP server for receiving DLP server information from the DLP server and receiving a DLP server request signal from a client, A controller for receiving the data flow information from the load balancing server and generating a data flow table based on the received data flow information; a controller for receiving the data flow table from the controller, And a switch for distributing data of the client to the DLP server.
Description
The present invention relates to a load distribution system, a control method therefor, and a recording medium for performing the method, and more particularly, to a load distribution system including a load distribution server capable of distributing client data to a plurality of DLP servers, A recording medium is provided.
Load balancing is a method of resolving server bottlenecks and overloading resources when overhead is requested by a large number of users. As the number of users who use the service increases, This is an important issue in securing performance.
Server bottlenecks in a distributed environment reduce the reliability of performance for users wishing to receive services. Therefore, it is possible to maintain reliability and safety of performance by distributing a plurality of servers for a plurality of users.
In general, the scheduling algorithm used in the existing server environment to distribute the load includes a round-robin method of sequentially connecting the users requesting the service to the servers, a method of assigning different performance weights to real servers, A weighted round-robin scheme that connects users sequentially to the server, a least-connection scheme that connects to the server with the fewest number of connected sessions, and a method that connects to a server with a fast response time A Fastest Response Time method, and a fixed method for connecting a specific user to a designated server.
However, these methods do not take into account the current resource usage of the server and the data usage that is different for each user.
According to an aspect of the present invention, there is provided a load balancing system, a control method thereof, and a recording medium for performing the same, the method comprising the steps of: measuring a current resource usage of a DLP server and transmitting user data to a plurality of DLP servers A load balancing system including the load balancing server for distributing the load balancing server, a control method thereof, and a recording medium for performing the same.
The DLP server generates DLP server information. When the DLP server receives DLP server information from the DLP server and receives a DLP server request signal from the client, A controller for receiving the data flow information from the load distribution server and generating a data flow table based on the received data flow information, and a controller for receiving the data flow table from the controller And a switch for distributing data of the client to the DLP server according to the received data flow table.
The load balancing server calculates resource usage of each DLP server based on the DLP server information, generates DLP server usage ranking information based on the resource usage amount, and based on the generated DLP server usage ranking information, Lt; / RTI >
The resource usage amount is generated based on usage amounts of CPU, memory, and network traffic, and is set such that the weight of the memory usage amount is the highest.
The DLP server request signal includes necessary resource usage information required for processing data of the client, and generating the data flow information based on the generated DLP server usage ranking information includes: Comparing the available resource usage information of the DLP server with the required resource usage information required to process the client's data and sending all the client's data to the DLP server having the highest priority when the required resource usage is smaller than the available resource, And to generate the data flow information for distributing the amount of data that the highest priority DLP server can not accommodate according to the DLP server usage ranking information when the required resource usage amount is larger than the available resource.
Wherein the generating of the data flow information includes distributing the amount of data that the highest priority DLP server can not accommodate to all DLP servers available according to the DLP server usage ranking information, And redistributing the data according to the DLP server usage ranking information.
The load balancing server and the DLP server may exchange the memory usage information based on the SNMP protocol, the load balancing server may use a PHP script, and the DLP server may use a shell script.
A recording medium according to another embodiment of the present invention can be recorded with a computer program for providing a load distribution system.
In another aspect of the present invention, there is provided a method of controlling a load distribution system including a plurality of DLP servers, a load distribution server, a controller, and a switch for processing client data, And transmits the generated server information to the load distribution server. The load distribution server calculates a resource usage amount of each DLP server based on the DLP server information, and generates DLP server usage amount ranking information based on the calculated resource usage amount And generates and transmits data flow information based on the DLP server usage order information to the controller when receiving a DLP server request signal from the client, and the controller generates a data flow table based on the data flow information, , And the switch Depending on the block may include the distribution server to the DLP data of the client.
Wherein the DLP server information includes a usage amount of a CPU, memory, and network traffic of the DLP server, and calculating a resource usage amount of each DLP server based on the DLP server information is based on usage amounts of CPU, memory, And the weight of the memory usage may be set to be the highest.
The DLP server request signal includes necessary resource usage information required for processing data of the client, and generating the data flow information based on the generated DLP server usage ranking information includes: Comparing the available resource usage information of the DLP server with the required resource usage information required to process the client's data and sending all the client's data to the DLP server having the highest priority when the required resource usage is smaller than the available resource, And to generate the data flow information for distributing the amount of data that the highest priority DLP server can not accommodate according to the DLP server usage ranking information when the required resource usage amount is larger than the available resource.
Generating the data flow information includes distributing the amount of data that the highest priority DLP server can not accommodate to all available DLP servers according to the DLP server usage ranking information and if the data of the client remains, And redistributing the data according to the DLP server usage ranking information.
According to an aspect of the present invention, a load balancing system, a control method thereof, and a recording medium for performing the load balancing system are configured such that the load balancing server measures the current resource usage of the DLP server, and based on the measured current resource usage, The overload problem of a specific server can be prevented by distributing the DLP server to a plurality of DLP servers.
1 is a configuration diagram of a load distribution system according to an embodiment of the present invention.
2 is a block diagram showing the configuration of blocks of the load distribution server and the DLP server of FIG. 1 of the present invention.
3 is a flowchart of a load balancing system according to an embodiment of the present invention.
4 is a flowchart of a method of controlling a load distribution system according to an embodiment of the present invention.
5 is a conceptual diagram showing an example for explaining the concept of an SFC applied to the data flow of the present invention.
The following detailed description of the invention refers to the accompanying drawings, which illustrate, by way of illustration, specific embodiments in which the invention may be practiced. These embodiments are described in sufficient detail to enable those skilled in the art to practice the invention. It should be understood that the various embodiments of the present invention are different, but need not be mutually exclusive. For example, certain features, structures, and characteristics described herein may be implemented in other embodiments without departing from the spirit and scope of the invention in connection with an embodiment. It is also to be understood that the position or arrangement of the individual components within each disclosed embodiment may be varied without departing from the spirit and scope of the invention. The following detailed description is, therefore, not to be taken in a limiting sense, and the scope of the present invention is to be limited only by the appended claims, along with the full scope of equivalents to which such claims are entitled, if properly explained. In the drawings, like reference numerals refer to the same or similar functions throughout the several views. Hereinafter, preferred embodiments of the present invention will be described in more detail with reference to the drawings.
1 is a configuration diagram of a load distribution system according to an embodiment of the present invention.
Referring to FIG. 1, a
The
The
The
When receiving the DLP server request signal from the
Here, the resource usage is calculated based on the amount of CPU, memory, and network traffic included in the DLP server information, and the ratio of the memory usage, which is the most important factor when the
[Equation 1]
In Equation (1)
A is the Percent of Memory usage, b is the Percent of CPU usage, and c is the Percent of Network usage. That is, the resource usage of anOn the other hand, generating the DLP server usage rank information based on the calculated resource usage can be performed by assigning a rank to the DLP server having the smallest calculated resource usage amount, and in some cases, Additional ranking can be given. In this case, when the same resource usage is calculated among the calculated plurality of resource usage amounts, it may be that priority is given to the one with the smallest memory usage amount and priority to the case where the CPU usage amount is small if the memory usage amount is also the same.
In addition, the generation of the data flow information including the data distribution order to the
The
In this case, the
The
On the other hand, when the amount of required resource to be transferred is greater than the available resource amount of the highest
At this time, the
The
The
The
At this time, when the amount of resource required for processing the data of the
The
Here, the
3 is a flowchart of a load balancing system according to an embodiment of the present invention.
Referring to FIG. 3, the
When receiving the DLP server information from the
At this time, the
The
The
4 is a flowchart of a method of controlling a load distribution system according to an embodiment of the present invention.
A control method of the load distribution system according to an embodiment of the present invention will be described with reference to FIG.
First, the
On the other hand, the
Meanwhile, the
The
Such a load balancing system and its control method may be implemented in the form of program instructions that can be executed through various computer components and recorded on a computer-readable recording medium. The computer-readable recording medium may include program commands, data files, data structures, and the like, alone or in combination.
The program instructions recorded on the computer-readable recording medium may be ones that are specially designed and configured for the present invention and are known and available to those skilled in the art of computer software.
Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks and magnetic tape, optical recording media such as CD-ROMs and DVDs, magneto-optical media such as floptical disks, media, and hardware devices specifically configured to store and execute program instructions such as ROM, RAM, flash memory, and the like.
Examples of program instructions include machine language code such as those generated by a compiler, as well as high-level language code that can be executed by a computer using an interpreter or the like. The hardware device may be configured to operate as one or more software modules for performing the processing according to the present invention, and vice versa.
While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it will be understood by those skilled in the art that various changes and modifications may be made therein without departing from the spirit and scope of the invention as defined in the appended claims. It will be possible.
10: Client
100: load balancing system
110: DLP server
120: load balancing server
130: controller
140: Switch
Claims (11)
A load balancing server for receiving DLP server information from the DLP server and receiving DLP server request signals from a client to generate data flow information based on the received DLP server information;
A controller receiving the data flow information from the load distribution server and generating a data flow table based on the received data flow information; And
And a switch for receiving the data flow table from the controller and distributing data of the client to the DLP server according to the received data flow table,
The load balancing server calculates resource usage of each DLP server based on the DLP server information, generates DLP server usage ranking information based on the resource usage amount, and based on the generated DLP server usage ranking information, Lt; / RTI >
Wherein the DLP server request signal includes necessary resource usage information necessary for processing data of the client,
The generating of the data flow information based on the generated DLP server usage rank information compares the available resource usage amount of the DLP server of the highest priority among the DLP server usage ranking information with the necessary resource usage information necessary for processing the data of the client All of the data of the client is transmitted to the DLP server of the highest priority if the required resource usage is smaller than the available resource and if the required resource usage is larger than the available resource, And generates the data flow information for distributing the amount of data according to the DLP server usage ranking information.
The resource usage amount may be,
And the amount of memory usage is set to be the highest, based on usage of CPU, memory, and network traffic.
Generating the data flow information comprises:
Distributes the amount of data that the highest priority DLP server can not accommodate to all available DLP servers according to the DLP server usage ranking information, and if the data of the client remains, To be redistributed in accordance with the load distribution system.
Wherein the load balancing server and the DLP server exchange information on the memory usage based on an SNMP protocol, the load balancing server uses a PHP script, and the DLP server uses a shell script.
The DLP server generates DLP server information and transmits the DLP server information to the load distribution server,
The load distribution server calculates resource usage of each DLP server based on the DLP server information, generates DLP server usage ranking information based on the calculated resource usage amount, and receives DLP server request signal from the client, Generates data flow information based on the server usage ranking information, and transmits the generated data flow information to the controller,
The controller generates a data flow table based on the data flow information and transmits the data flow table to the switch,
Wherein the switch comprises distributing data of the client to the DLP server according to the data flow table,
Wherein the DLP server request signal includes necessary resource usage information necessary for processing data of the client,
The generating of the data flow information based on the generated DLP server usage rank information compares the available resource usage amount of the DLP server of the highest priority among the DLP server usage ranking information with the necessary resource usage information necessary for processing the data of the client All of the data of the client is transmitted to the DLP server of the highest priority if the required resource usage is smaller than the available resource and if the required resource usage is larger than the available resource, And generates the data flow information for distributing the amount of data according to the DLP server usage ranking information.
Wherein the DLP server information includes a usage amount of CPU, memory, and network traffic of the DLP server,
The resource usage of each DLP server is calculated based on the DLP server information,
Wherein the control unit is generated based on usage of CPU, memory, and network traffic, and is set such that the weight of the memory usage is the highest.
Generating the data flow information comprises:
Distributes the amount of data that can not be received by the DLP server of the highest priority to all available DLP servers according to the DLP server usage ranking information and if the data of the client remains, In accordance with the control information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020160024282A KR101758065B1 (en) | 2016-02-29 | 2016-02-29 | Load balancing system, method for controlling the same and recording medium for performing the ethod |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020160024282A KR101758065B1 (en) | 2016-02-29 | 2016-02-29 | Load balancing system, method for controlling the same and recording medium for performing the ethod |
Publications (1)
Publication Number | Publication Date |
---|---|
KR101758065B1 true KR101758065B1 (en) | 2017-07-26 |
Family
ID=59426867
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020160024282A KR101758065B1 (en) | 2016-02-29 | 2016-02-29 | Load balancing system, method for controlling the same and recording medium for performing the ethod |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101758065B1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102215031B1 (en) | 2020-07-22 | 2021-02-10 | 주식회사 데브와이 | Method for connecting waiting person in distributed server environment |
KR102522910B1 (en) * | 2022-12-29 | 2023-04-18 | 주식회사 에스티씨랩 | System and method for ensuring service continuity of proxy |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000347962A (en) * | 1999-06-02 | 2000-12-15 | Nec Commun Syst Ltd | System and method for distributed management of network |
US20120233313A1 (en) * | 2011-03-11 | 2012-09-13 | Hironobu Fukami | Shared scaling server system |
-
2016
- 2016-02-29 KR KR1020160024282A patent/KR101758065B1/en active IP Right Grant
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000347962A (en) * | 1999-06-02 | 2000-12-15 | Nec Commun Syst Ltd | System and method for distributed management of network |
US20120233313A1 (en) * | 2011-03-11 | 2012-09-13 | Hironobu Fukami | Shared scaling server system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102215031B1 (en) | 2020-07-22 | 2021-02-10 | 주식회사 데브와이 | Method for connecting waiting person in distributed server environment |
KR102522910B1 (en) * | 2022-12-29 | 2023-04-18 | 주식회사 에스티씨랩 | System and method for ensuring service continuity of proxy |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6883427B2 (en) | Diameter load and overload information and methods for virtualization, system and computer readable media | |
JP5654022B2 (en) | Dynamic load balancing and scaling of allocated cloud resources within the corporate network | |
US10715479B2 (en) | Connection redistribution in load-balanced systems | |
US9712448B2 (en) | Proxy server, hierarchical network system, and distributed workload management method | |
EP3211902A1 (en) | Hls-based capability control method, hls-based capability control service system, and slb server | |
US9197687B2 (en) | Prioritized blocking of on-demand requests | |
KR20150054998A (en) | Method and apparatus for automated deployment of geographically distributed applications within a cloud | |
MX2015006471A (en) | Method and apparatus for controlling utilization in a horizontally scaled software application. | |
WO2014090075A1 (en) | System and method for estimating an effective bandwidth | |
CN107979539B (en) | Message processing method and device | |
CN108933829A (en) | A kind of load-balancing method and device | |
KR101485161B1 (en) | System and method for providing real time streaming service | |
KR101686073B1 (en) | Method, management server and computer-readable recording medium for allowing client terminal to be provided with services by converting network topology adaptively according to characteristics of the services | |
KR101448413B1 (en) | Method and apparatus for scheduling communication traffic in atca-based equipment | |
KR101758065B1 (en) | Load balancing system, method for controlling the same and recording medium for performing the ethod | |
CN112866394B (en) | Load balancing method, device, system, computer equipment and storage medium | |
JP2018084986A (en) | Server device, program, and communication system | |
US20210168051A1 (en) | Network control apparatus, network control method and program | |
Kontogiannis et al. | ALBL: an adaptive load balancing algorithm for distributed web systems | |
CN109688171B (en) | Cache space scheduling method, device and system | |
CN115168017A (en) | Task scheduling cloud platform and task scheduling method thereof | |
US9525713B1 (en) | Measuring server availability and managing traffic in adaptive bitrate media delivery | |
JP2009163440A (en) | Load distribution method, load distribution system, load distribution server and load distribution program | |
Hamd et al. | Multicellular 4G and load balancing over cloud computing | |
US9774512B1 (en) | Measuring server availability and managing traffic in adaptive bitrate media delivery |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant |