CN107026899A - A kind of load-balanced server of the efficient easy-to-use stabilization based on dynamic link library - Google Patents
A kind of load-balanced server of the efficient easy-to-use stabilization based on dynamic link library Download PDFInfo
- Publication number
- CN107026899A CN107026899A CN201710099285.2A CN201710099285A CN107026899A CN 107026899 A CN107026899 A CN 107026899A CN 201710099285 A CN201710099285 A CN 201710099285A CN 107026899 A CN107026899 A CN 107026899A
- Authority
- CN
- China
- Prior art keywords
- server
- load
- dynamic link
- link library
- balanced
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
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
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/2866—Architectures; Arrangements
- H04L67/30—Profiles
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention discloses a kind of load-balanced server of the efficient easy-to-use stabilization based on dynamic link library, it is characterised in that:Dynamic link library is provided with it, the load-balanced server connection client and server group, state and service condition for recording and monitoring other web servers, performance is best in dynamic calculation server and is capable of the server of the complete task of priority treatment, when user end to server sends resource request, server dynamic link library judges available server and address is returned into client, and client visits again the server for its distribution;Algorithm, including dll file and configuration file are packaged with the dynamic link library of the load-balanced server.The present invention can utilize server resource to greatest extent in the case where increasing a small amount of server, reduce entreprise cost, improve the utilization rate of server.
Description
Technical field
The present invention relates to server field, the load balancing of especially a kind of efficient easy-to-use stabilization based on dynamic link library
Server.
Background technology
Normal conditions, software can be all deployed on server, and various network services are provided for Internet user, and user passes through
Browser or software client obtain the service that software is provided.
With the extensive use of big data, each core portfolio of existing network is gradually stepped up, visit capacity sum
According to flow rapid growth, its disposal ability and calculating intensity also accordingly increase so that single server apparatus can not be held at all
Load.In the case, if throwing away existing equipment does substantial amounts of HardwareUpgring, the waste of existing resource will be so caused, and
And if when facing the lifting of portfolio next time again, this will cause again the great number cost input of HardwareUpgring again, even
Remarkable equipment can not meet the demand of current traffic growth to performance again.
In order to improve server efficiency and reduce cost, generally go to improve network service in terms of hardware and software two
Reliability.With the increase of system business amount, general enterprises are delayed using direct addition number of servers or server configuration
The pressure that solution a large number of services data and high concurrent user request processing are brought, lifting software responses speed and efficiency;Server is hard
Part high expensive, and with the increase of portfolio, to a certain extent after the problem of equally occur similar.
The content of the invention
The goal of the invention of the present invention is:For above-mentioned problem, there is provided a kind of hard using server to greatest extent
Part resource and raising software server response efficiency, reduce software cost;There is provided in the form of common program collection, fast and easy collection
Into into application program, especially for the old software systems of operation for a long time on the premise of without a large amount of modification software codes it is fast
Speed realizes the load-balanced server of the efficient easy-to-use stabilization based on dynamic link library of load balancing.
The technical solution adopted by the present invention is as follows:
A kind of load-balanced server of the efficient easy-to-use stabilization based on dynamic link library of the present invention, it is interior provided with dynamic link
Storehouse, load-balanced server connection client and server group, for record and monitor other web servers state and
Performance preferably and is capable of the server of the complete task of priority treatment in service condition, dynamic calculation server, when client is to clothes
When business device sends resource request, server dynamic link library judges available server and address is returned into client, client
Visit again the server for its distribution;Algorithm, including dll file are packaged with the dynamic link library of the load-balanced server
And configuration file.
A kind of load-balanced server of the efficient easy-to-use stabilization based on dynamic link library of the present invention, the method for packing
For:Generation dll file simultaneously externally provides interface, while comprising a configuration file, according to service implement body in configuration file
Situation and actual business carry out the algorithm that configuration selection is used.
A kind of load-balanced server of the efficient easy-to-use stabilization based on dynamic link library of the present invention, the algorithm includes wheel
Ask algorithm, mark polling method and server priority algorithm.
A kind of load-balanced server of the efficient easy-to-use stabilization based on dynamic link library of the present invention, the polling algorithm
Configuration condition is that server performance is essentially identical, network environment is also roughly the same;The configuration condition of the mark polling method is clothes
Business device is configured with obvious gap;When server configuration gap is obvious, asking for polling algorithm can be solved using mark polling method
Topic, the good server of process performance preferentially distributes task, it is to avoid short -board effect;The configuration condition of the server priority algorithm
It is more or less the same for configuration and environment between server, the response efficiency of server can be significantly improved in this way.
A kind of load-balanced server of the efficient easy-to-use stabilization based on dynamic link library of the present invention, the polling algorithm
For:Available server sum N is taken out, when receiving client request, a server is distributed, and counts I, judges I whether
Through beyond server sum N, if I>N, I reset to 0, are distributed again since First, and monitor request;If I<N, receiving please
Ask;It is followed successively by client distribution server.
A kind of load-balanced server of the efficient easy-to-use stabilization based on dynamic link library of the present invention, the mark polling method
For:Its weight is calculated by the configuration of every server, the server that CPU frequency is high, memory size is big, Netowrk tape is roomy is set
Its weight is height, sets gradually Servers-all weight, in the task of distribution, the high server of preferential distribution weight.
It is inapplicable to use polling algorithm when several servers are configured with obvious gap, because this is respectively algorithm, each round
All it is sequentially allocated, even if the last request of the server for wherein configuring difference has not been handled also, still can when next round is distributed
Distribution task, it is thus possible to network blockage or the disabled situation of server occurs, causes the decline of overall performance;Using
And know the problem of polling method can solve polling algorithm, the good server of process performance preferentially distributes task, it is to avoid short slab is imitated
Should.
A kind of load-balanced server of the efficient easy-to-use stabilization based on dynamic link library of the present invention, the server priority
Algorithm is:The connection quantity of every server is counted, the small server priority distribution of connection number, incoming request takes according to every
The currently open connection number of business device is come what is distributed, and next incoming ask can be received automatically by actively connecting the minimum server of number
Ask.
With the increase of website visiting amount, general enterprises server may all have many, and how significantly more efficient utilize
Each server cooperates, and improves the utilization rate and corresponding efficiency of server, that is accomplished by dynamic realtime and goes to judge server
State.And with the increase of server, it is impossible to the addition of hardware each time is required for modification deployment code, therefore will service
The part individual packages of device dynamic link come out, and provide the efficiency of code deployment and the stability of website.
The general principle of server dynamic link:One-to-many reflect is set up using DNS polls, CDN, IP load-balancing technique
Mechanism is penetrated by the entry maps of a request to the node of multiple processing requests, is divided and rule so as to realize.
This mapping mechanism causes multiple physical server equipment to be externally presented as a virtual entirety, and service is asked
The person of asking shields the structure of inside.
There is no any influence, but the utilization rate of the server greatly improved in operation ease on service requester
With the reliability of website.
In summary, by adopting the above-described technical solution, the beneficial effects of the invention are as follows:
1st, a kind of load-balanced server of the efficient easy-to-use stabilization based on dynamic link library of the present invention can be in a small amount of clothes of increase
It is engaged in utilizing server resource to greatest extent in the case of device hardware, reduces entreprise cost.
2nd, the dynamic link library of load-balanced server of the present invention is provided in the form of common program collection, can be with fast and easy
Be integrated into existing software systems, improve application program response efficiency.
Brief description of the drawings
Examples of the present invention will be described by way of reference to the accompanying drawings, wherein:
Fig. 1 is schematic structural view of the invention.
Fig. 2 is polling algorithm flow chart.
Embodiment
All features disclosed in this specification, or disclosed all methods or during the step of, except mutually exclusive
Feature and/or step beyond, can combine in any way.
This specification(Including any accessory claim, summary)Disclosed in any feature, unless specifically stated otherwise,
Replaced by other equivalent or with similar purpose alternative features.I.e., unless specifically stated otherwise, each feature is a series of
An example in equivalent or similar characteristics.
Such as Fig. 1, a kind of load-balanced server of the efficient easy-to-use stabilization based on dynamic link library of the present invention is set in it
There are dynamic link library, the load-balanced server connection client and server group, for recording and monitoring other web services
Performance is best in the state and service condition of device, dynamic calculation server and is capable of the server of the complete task of priority treatment, when
When user end to server sends resource request, server dynamic link library judges available server and address is returned into client
End, client visits again the server for its distribution;Algorithm is packaged with the dynamic link library of the load-balanced server, is wrapped
Include dll file and configuration file.
A kind of load-balanced server of the efficient easy-to-use stabilization based on dynamic link library of the present invention, the method for packing
For:Generation dll file simultaneously externally provides interface, while comprising a configuration file, according to service implement body in configuration file
Situation and actual business carry out the algorithm that configuration selection is used.
A kind of load-balanced server of the efficient easy-to-use stabilization based on dynamic link library of the present invention, the algorithm includes wheel
Ask algorithm, mark polling method and server priority algorithm.
A kind of load-balanced server of the efficient easy-to-use stabilization based on dynamic link library of the present invention, the polling algorithm
Configuration condition is that server performance is essentially identical, network environment is also roughly the same;The configuration condition of the mark polling method is clothes
Business device is configured with obvious gap;The configuration condition of the server priority algorithm is that configuration between server and environment are differed not
Greatly.
A kind of load-balanced server of the efficient easy-to-use stabilization based on dynamic link library of the present invention, the polling algorithm
For:Available server sum N is taken out, when receiving client request, a server is distributed, and counts I, judges I whether
Through beyond server sum N, if I>N, I reset to 0, are distributed again since First, and monitor request;If I<N, receiving please
Ask;It is followed successively by client distribution server.
If N=4, there are 4 servers, after user, which sends, to be asked, server dynamic link library is once divided using polling algorithm
With server address;After first time, request was sent, server 1 is distributed to, server 2 is distributed to for the second time, third time is distributed
To server 3, the 4th sub-distribution to server 4, the 5th time from being newly assigned to server 1, the like.
A kind of load-balanced server of the efficient easy-to-use stabilization based on dynamic link library of the present invention, the mark polling method
For:Its weight is calculated by the configuration of every server, the server that CPU frequency is high, memory size is big, Netowrk tape is roomy is set
Its weight is height, sets gradually Servers-all weight, in the task of distribution, the high server of preferential distribution weight.
If there is 4 servers, the configuration highest of server 1, the index such as internal memory, CPU, storage is all 4 times of other servers,
Then configuration server weight ratio is 4:1:1:1;When first time thering is request to reach, server 1 is distributed to, subsequent request is once divided
Match somebody with somebody, server 1 is reassigned to when the 5th request reaches, subsequent request, which reaches, continues to distribute to server 1 until service
The connection number of device 1 reaches 4, then primary distribution is to subsequent server, the like.
A kind of load-balanced server of the efficient easy-to-use stabilization based on dynamic link library of the present invention, the server priority
Algorithm is:The connection quantity of every server is counted, the small server priority distribution of connection number, incoming request takes according to every
The currently open connection number of business device is come what is distributed, and next incoming ask can be received automatically by actively connecting the minimum server of number
Ask.
Dynamic link library is mountable to separate server in the present invention, is also mountable on the server in server zone,
The existing store function of server of dynamic link library is installed, also there is loading functional;Load-balanced server of the present invention, can be peace
Separate server equipped with dynamic link library, also including being provided with the common server of dynamic link library.
The invention is not limited in foregoing embodiment.The present invention, which is expanded to, any in this manual to be disclosed
New feature or any new combination, and disclose any new method or process the step of or any new combination.
Claims (7)
1. a kind of load-balanced server of the efficient easy-to-use stabilization based on dynamic link library, it is characterised in that:Provided with dynamic in it
State chained library, the load-balanced server connection client and server group, for recording and monitoring other web servers
Performance is best in state and service condition, dynamic calculation server and is capable of the server of the complete task of priority treatment, works as client
Hold to server send resource request when, server dynamic link library judges available server and address is returned into client,
Client visits again the server for its distribution;Algorithm is packaged with the dynamic link library of the load-balanced server, including
Dll file and configuration file.
2. a kind of load-balanced server of efficient easy-to-use stabilization based on dynamic link library according to claim 1, its
It is characterised by:The method for packing is:Generation dll file simultaneously externally provides interface, while comprising a configuration file, in configuration
The algorithm that configuration selection is used is carried out in file according to server particular situation and actual business.
3. a kind of load-balanced server of efficient easy-to-use stabilization based on dynamic link library according to claim 1, its
It is characterised by:The algorithm includes polling algorithm, mark polling method and server priority algorithm.
4. a kind of load-balanced server of efficient easy-to-use stabilization based on dynamic link library according to claim 3, its
It is characterised by:The configuration condition of the polling algorithm is that server performance is essentially identical, network environment is also roughly the same;The mark
Know the configuration condition of polling method and be configured with obvious gap for server;The configuration condition of the server priority algorithm is server
Between configuration and environment be more or less the same.
5. a kind of load-balanced server of efficient easy-to-use stabilization based on dynamic link library according to claim 3, its
It is characterised by:The polling algorithm is:Available server sum N is taken out, when receiving client request, a service is distributed
Device, and I is counted, judge whether I exceeds server sum N, if I>N, I reset to 0, are distributed again since First,
And monitor request;If I<N, receives request;It is followed successively by client distribution server.
6. a kind of load-balanced server of efficient easy-to-use stabilization based on dynamic link library according to claim 4, its
It is characterised by:It is described mark polling method be:Its weight is calculated by the configuration of every server, CPU frequency is high, memory size is big,
The roomy server of Netowrk tape sets its weight to be height, sets gradually Servers-all weight, in the task of distribution, preferential distribution
The high server of weight.
7. a kind of load-balanced server of efficient easy-to-use stabilization based on dynamic link library according to claim 4, its
It is characterised by:The server priority algorithm is:Count the connection quantity of every server, connection number small server priority point
Match somebody with somebody, what incoming request was distributed according to the currently open connection number of every server, actively connect the minimum server of number
Next incoming request can be received automatically.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710099285.2A CN107026899A (en) | 2017-02-23 | 2017-02-23 | A kind of load-balanced server of the efficient easy-to-use stabilization based on dynamic link library |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710099285.2A CN107026899A (en) | 2017-02-23 | 2017-02-23 | A kind of load-balanced server of the efficient easy-to-use stabilization based on dynamic link library |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107026899A true CN107026899A (en) | 2017-08-08 |
Family
ID=59525568
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710099285.2A Pending CN107026899A (en) | 2017-02-23 | 2017-02-23 | A kind of load-balanced server of the efficient easy-to-use stabilization based on dynamic link library |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107026899A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108259603A (en) * | 2018-01-17 | 2018-07-06 | 新华三技术有限公司 | A kind of load-balancing method and device |
CN109873732A (en) * | 2017-12-05 | 2019-06-11 | 北京京东尚科信息技术有限公司 | Test method and device for proxy server |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101207550A (en) * | 2007-03-16 | 2008-06-25 | 中国科学技术大学 | Load balancing system and method for multi business to implement load balancing |
US7624405B1 (en) * | 2005-06-17 | 2009-11-24 | Unisys Corporation | Maintaining availability during change of resource dynamic link library in a clustered system |
CN102611735A (en) * | 2011-12-21 | 2012-07-25 | 奇智软件(北京)有限公司 | Load balancing method and system of application services |
CN104780210A (en) * | 2015-04-13 | 2015-07-15 | 杭州华三通信技术有限公司 | Load balancing method and device |
-
2017
- 2017-02-23 CN CN201710099285.2A patent/CN107026899A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7624405B1 (en) * | 2005-06-17 | 2009-11-24 | Unisys Corporation | Maintaining availability during change of resource dynamic link library in a clustered system |
CN101207550A (en) * | 2007-03-16 | 2008-06-25 | 中国科学技术大学 | Load balancing system and method for multi business to implement load balancing |
CN102611735A (en) * | 2011-12-21 | 2012-07-25 | 奇智软件(北京)有限公司 | Load balancing method and system of application services |
CN104780210A (en) * | 2015-04-13 | 2015-07-15 | 杭州华三通信技术有限公司 | Load balancing method and device |
Non-Patent Citations (1)
Title |
---|
向鹏: "耦合分布式系统资源管理与任务调度子系统研究与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109873732A (en) * | 2017-12-05 | 2019-06-11 | 北京京东尚科信息技术有限公司 | Test method and device for proxy server |
CN108259603A (en) * | 2018-01-17 | 2018-07-06 | 新华三技术有限公司 | A kind of load-balancing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107613030A (en) | A kind of method and system of processing business request | |
CN103581276B (en) | Cluster management device, system, service customer end and correlation method | |
CN103716251B (en) | For the load-balancing method and equipment of content distributing network | |
CN103945411B (en) | A kind of method and device for choosing Network Access Point | |
CN103391299B (en) | Load-balancing method and SiteServer LBS | |
CN104852857B (en) | Distributed data transport method and system based on load balancing | |
CN103067293B (en) | Method and system for multiplex and connection management of a load balancer | |
CN107026907A (en) | A kind of load-balancing method, load equalizer and SiteServer LBS | |
CN103179217B (en) | A kind of load-balancing method for WEB application server farm and device | |
WO2019205406A1 (en) | Highly concurrent service request processing method and apparatus, and computer device and storage medium | |
CN109274707A (en) | A kind of load dispatching method and device | |
US20020032777A1 (en) | Load sharing apparatus and a load estimation method | |
CN109104500A (en) | A kind of server load balancing method and device of dynamic adjustment | |
CN105516360A (en) | Method and device for load balance of computer | |
CN108173937A (en) | Access control method and device | |
CN103227754A (en) | Dynamic load balancing method of high-availability cluster system, and node equipment | |
CN107800768A (en) | Open platform control method and system | |
CN101610222A (en) | Client-based server selection method and device | |
CN110417676A (en) | A kind of dispatching method, device and dispatch network | |
CN104038525B (en) | The load-balancing method and device of server system | |
CN104202386B (en) | A kind of high concurrent amount distributed file system and its secondary load equalization methods | |
CN102045396A (en) | Load balancing method of server document | |
CN106953926A (en) | A kind of method for routing and device | |
CN107835262A (en) | A kind of streaming media server dynamical load distribution method | |
CN108259603A (en) | A kind of load-balancing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170808 |
|
RJ01 | Rejection of invention patent application after publication |