CN108848002B - Dynamic GSLB processing method based on service delay - Google Patents

Dynamic GSLB processing method based on service delay Download PDF

Info

Publication number
CN108848002B
CN108848002B CN201810570528.0A CN201810570528A CN108848002B CN 108848002 B CN108848002 B CN 108848002B CN 201810570528 A CN201810570528 A CN 201810570528A CN 108848002 B CN108848002 B CN 108848002B
Authority
CN
China
Prior art keywords
gslb
data center
service
data
slb1
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.)
Active
Application number
CN201810570528.0A
Other languages
Chinese (zh)
Other versions
CN108848002A (en
Inventor
李东辉
俞俊
吴小志
张昕
山发军
牧军
石荣水
李虎
范江
李燕垒
龚海泉
桂美坤
严军
曹宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NARI Group Corp
Original Assignee
NARI Group Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by NARI Group Corp filed Critical NARI Group Corp
Priority to CN201810570528.0A priority Critical patent/CN108848002B/en
Publication of CN108848002A publication Critical patent/CN108848002A/en
Application granted granted Critical
Publication of CN108848002B publication Critical patent/CN108848002B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/04Processing captured monitoring data, e.g. for logfile generation

Abstract

The invention discloses a dynamic GSLB processing method based on service delay, wherein the speed of GSLB response to a data center is adjusted in time by adopting a measurement algorithm, so that the problems of slow client access caused by busy server service and service failure caused by abnormal operation of part of service links after long-time operation of a server, such as memory leakage, database bloat and the like, can be solved, the service can be accessed but the response is slow, and overtime often occurs.

Description

Dynamic GSLB processing method based on service delay
Technical Field
The invention belongs to the technical field of computer networks, and particularly relates to a GSLB processing method.
Background
In the whole GSLB multi-data center solution, all current GSLB manufacturer solutions respond to DNS requests according to a series of algorithms such as health check, geographical position and the like. The method can not be really combined with the service, and in real application, the service access of the SLB loaded service is slow due to various conditions such as large service volume, long-term system operation, network reasons and the like, which is a problem to be solved by the invention.
Therefore, a new technical solution is needed to solve the above problems.
Disclosure of Invention
The purpose of the invention is as follows: the problem of slow client access caused by busy server service is solved, and the problem of service failure caused by abnormal operation of part of service links after the server operates for a long time is also solved.
The technical scheme is as follows: in order to achieve the purpose, the invention can adopt the following technical scheme:
a dynamic GSLB processing method based on service delay comprises the following steps:
the data center SLB1 equipment monitors and records service delay in real time, and the service corresponding to the service delay is the whole process of accessing to the VIP from the client and then transferring to a back-end real server from the VIP;
assume that the address data of the traffic VIP1 is m 1; the data center SLB2 behavior is consistent with the data center SLB1, assuming the address data of the business VIP2 is m 2; m1 and m2 are dynamically acquired by the SLB and retain the numerical values of the latest groups to cover the operation;
the GSLB detects and collects the corresponding service states of all data center equipment through a protocol, wherein the service states are vip 1-m 1; the vip2 is m2, and the SLB takes a plurality of groups of data from all data center equipment at regular time;
GSLB measures according to self-set delay safety value t1 and alarm value t2, the measurement algorithm is:
(1) calculating the average value of a plurality of groups of data retrieved by the data center as m;
(2) if m < t1 is considered as a safe range, GSLB normally responds to the DNS response rate of the data center, assuming the rate is s 1;
(3) if t1< m < t2, considering the boundary range, and dynamically adjusting the rate of GSLB responding to the data center SLB1 to be half of the original rate of s1, namely s 1/2;
continuously detecting that two cycles m still belong to the range, and continuously adjusting the rate of GSLB responding to the data center SLB1 to be half of the last time, namely s 1/4;
continuously detecting that two periods m still belong to the range, and continuously adjusting the speed of the GSLB responding to the data center SLB1 to be half of the last time, namely s 1/8;
continuing to continuously probe that two cycles m still belong to the range, GSLB will no longer respond to DNS requests from the data center SLB 1;
(4) if m > t2, then the scope is considered anomalous and GSLB will no longer respond to DNS requests from the data center SLB 1.
Further, a recovery mechanism is also included in step (3), i.e. m < t 1.
Further, it is characterized in that: the SLB timing takes five groups of data from the SLB equipment of the data center, and if the five groups are not satisfied, all the data are taken back, namely m1_1, m1_2, m1_3, m1_4 and m1_ 5.
Furthermore, the method is suitable for multiple data centers, and the GSLB is associated with a health check algorithm in the method.
Has the advantages that: the invention adjusts the GSLB response speed in time by adopting a measurement algorithm to solve the problems of slow client access caused by busy server service and service failure caused by abnormal operation of part of service links after long-time operation of the server, such as memory leakage, overstaffed database and the like, wherein the service can be accessed but the response is slow and overtime often occurs.
Detailed Description
The embodiment discloses a dynamic GSLB processing method based on service delay applied to multiple data centers, and the precondition of the processing method is as follows:
1GSLB associated health check algorithm
2 multidata center
Implementation and principle description:
1. the data center SLB1 equipment monitors and records the service delay of the whole process that the service is accessed from the client to the VIP and then is transferred from the VIP to the real server at the back end in real time, and the service VIP1 is assumed to be m 1; data center SLB2 behavior is consistent with data center SLB1, assuming traffic VIP2 is m 2; m1 and m2 are dynamically acquired by the SLB, the numerical values of the latest 5 groups are reserved, and the operation is covered;
2. the GSLB detects and collects (active and passive modes) the corresponding service states on the data center SLB device through the protocol, which are vip1 ═ m 1; when vip2 is m2, the SLB periodically takes five groups of data from the data center SLB device, assuming that m1_1, m1_2, m1_3, m1_4 and m1_5 are all retrieved when the five groups are less than five,
3. GSLB measures according to self-set delay safety value t1 and alarm value t2, the measurement algorithm is:
(1) calculating the average value of the data center retrieval data m1_1 to m1_5 as m
(2) If m < t1 is considered a safe range, GSLB responds normally to the data center's DNS reply rate, assuming rate s1
(3) If t1< m < t2, considering the boundary range, and dynamically adjusting the rate of GSLB responding to the data center SLB1 to be half of the original rate of s1, namely s 1/2;
continuously detecting that two cycles m still belong to the range, and continuously adjusting the rate of GSLB responding to the data center SLB1 to be the last general rate, namely s 1/4;
continuously detecting that two periods m still belong to the range, and continuously adjusting the rate of GSLB responding to the data center SLB1 to be the last ordinary rate, namely s 1/8;
continuing to continuously probe that two cycles m still belong to the range, GSLB will no longer respond to DNS requests from the data center SLB1
And (3) a recovery mechanism: m < t1
(4) If m > t2, then the scope is considered anomalous and GSLB will no longer respond to DNS requests from the data center SLB 1.
In addition, the present invention has many specific implementations and ways, and the above description is only a preferred embodiment of the present invention. It should be noted that, for those skilled in the art, without departing from the principle of the present invention, several improvements and modifications can be made, and these improvements and modifications should also be construed as the protection scope of the present invention. All the components not specified in the present embodiment can be realized by the prior art.

Claims (4)

1. A dynamic GSLB processing method based on service delay is characterized in that:
the data center SLB1 equipment monitors and records service delay in real time, and the service corresponding to the service delay is the whole process of accessing to the VIP from the client and then transferring to a back-end real server from the VIP;
assume that the address data of the traffic VIP1 is m 1; the data center SLB2 behavior is consistent with the data center SLB1, assuming the address data of the business VIP2 is m 2; m1 dynamically acquires and retains the values of the last five groups by the data center SLB1, and the operations are covered; m2 dynamically acquires and retains the values of the last five groups by the data center SLB2, and the operations are covered;
the GSLB detects and collects the corresponding service states of all the data center equipment through the protocol, and the corresponding service states are respectively VIP1= m 1; VIP2= m2, GSLB regularly takes several sets of data from all data center devices;
GSLB measures according to self-set delay safety value t1 and alarm value t2, the measurement algorithm is:
(1) calculating the average value of a plurality of groups of data retrieved by the data center as m;
(2) if m < t1 is considered as a safe range, GSLB normally responds to the DNS response rate of the data center, assuming the rate is s 1;
(3) if t1< m < t2, considering the boundary range, and dynamically adjusting the rate of GSLB responding to the data center SLB1 to be half of the original rate of s1, namely s 1/2;
continuously detecting that two cycles m still belong to the range, and continuously adjusting the rate of GSLB responding to the data center SLB1 to be half of the last time, namely s 1/4;
continuously detecting that two periods m still belong to the range, and continuously adjusting the speed of the GSLB responding to the data center SLB1 to be half of the last time, namely s 1/8;
continuing to continuously probe that two cycles m still belong to the range, GSLB will no longer respond to DNS requests from the data center SLB 1;
(4) if m > t2, then the scope is considered anomalous and GSLB will no longer respond to DNS requests from the data center SLB 1.
2. The processing method according to claim 1, characterized in that: m1 dynamically acquires five groups of service state data from the data center SLB1, and if m1_1, m1_2, m1_3, m1_4, and m1_5 are assumed, all the data are retrieved when the five groups are not full.
3. The processing method according to claim 1 or 2, characterized in that: the method is suitable for multiple data centers.
4. The processing method according to claim 1, characterized in that: GSLB has associated a health check algorithm.
CN201810570528.0A 2018-06-05 2018-06-05 Dynamic GSLB processing method based on service delay Active CN108848002B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810570528.0A CN108848002B (en) 2018-06-05 2018-06-05 Dynamic GSLB processing method based on service delay

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810570528.0A CN108848002B (en) 2018-06-05 2018-06-05 Dynamic GSLB processing method based on service delay

Publications (2)

Publication Number Publication Date
CN108848002A CN108848002A (en) 2018-11-20
CN108848002B true CN108848002B (en) 2021-07-16

Family

ID=64210376

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810570528.0A Active CN108848002B (en) 2018-06-05 2018-06-05 Dynamic GSLB processing method based on service delay

Country Status (1)

Country Link
CN (1) CN108848002B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7096263B2 (en) * 2000-05-26 2006-08-22 Akamai Technologies, Inc. Method for predicting file download time from mirrored data centers in a global computer network
CN101146022A (en) * 2006-09-11 2008-03-19 思华科技(上海)有限公司 Node overlapping content distribution network
CN102207891A (en) * 2011-06-10 2011-10-05 浙江大学 Method for achieving dynamic partitioning and load balancing of data-partitioning distributed environment
CN102763375A (en) * 2009-12-23 2012-10-31 思杰系统有限公司 Systems and methods for gslb spillover
CN102891804A (en) * 2012-10-16 2013-01-23 中兴通讯股份有限公司南京分公司 Control strategy adjustment method and system
CN104022891A (en) * 2013-02-28 2014-09-03 杭州华三通信技术有限公司 Global load balancing equipment business coordination method and device
US9032488B2 (en) * 2012-04-17 2015-05-12 Salesforce.Com, Inc. Cross instance user authentication architecture
CN105262857A (en) * 2015-11-04 2016-01-20 北京汉柏科技有限公司 DNS relay function acceleration method and device
CN105704708A (en) * 2014-11-25 2016-06-22 中兴通讯股份有限公司 Mobile network content distribution method, device and system
CN106657201A (en) * 2015-11-03 2017-05-10 中兴通讯股份有限公司 Data processing method and device for GSLB scheduling system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7096263B2 (en) * 2000-05-26 2006-08-22 Akamai Technologies, Inc. Method for predicting file download time from mirrored data centers in a global computer network
CN101146022A (en) * 2006-09-11 2008-03-19 思华科技(上海)有限公司 Node overlapping content distribution network
CN102763375A (en) * 2009-12-23 2012-10-31 思杰系统有限公司 Systems and methods for gslb spillover
CN102207891A (en) * 2011-06-10 2011-10-05 浙江大学 Method for achieving dynamic partitioning and load balancing of data-partitioning distributed environment
US9032488B2 (en) * 2012-04-17 2015-05-12 Salesforce.Com, Inc. Cross instance user authentication architecture
CN102891804A (en) * 2012-10-16 2013-01-23 中兴通讯股份有限公司南京分公司 Control strategy adjustment method and system
CN104022891A (en) * 2013-02-28 2014-09-03 杭州华三通信技术有限公司 Global load balancing equipment business coordination method and device
CN105704708A (en) * 2014-11-25 2016-06-22 中兴通讯股份有限公司 Mobile network content distribution method, device and system
CN106657201A (en) * 2015-11-03 2017-05-10 中兴通讯股份有限公司 Data processing method and device for GSLB scheduling system
CN105262857A (en) * 2015-11-04 2016-01-20 北京汉柏科技有限公司 DNS relay function acceleration method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"CDN网络中负载均衡的研究";徐玲,;《中国优秀硕士学位论文全文数据库-信息科技辑》;20071015;全文 *
Jörg Jung,et al.,."Self-adapting load balancing for DNS".《 International Symposium on Performance Evaluation of Computer and Telecommunication Systems (SPECTS 2014)》.2014, *

Also Published As

Publication number Publication date
CN108848002A (en) 2018-11-20

Similar Documents

Publication Publication Date Title
CN102143046B (en) Load balancing method, equipment and system
US11611592B1 (en) Multiple-master DNS system
CN106210147B (en) Load balancing method and device based on polling
CN102577241B (en) Method, device and system for scheduling distributed buffer resources
EP2563062B1 (en) Long connection management apparatus and link resource management method for long connection communication
CN107465721B (en) Global load balancing method and system based on double-active architecture and scheduling server
US8850043B2 (en) Network security using trust validation
CN109951537B (en) Load balancing distribution method facing block chain
CN107508694B (en) Node management method and node equipment in cluster
CN103856760A (en) Longitudinal virtualization device between video surveillance devices
CN107872517B (en) Data processing method and device
CN109218126B (en) Method, device and system for monitoring node survival state
US11539609B2 (en) Method and apparatus for reporting power down events in a network node without a backup energy storage device
CN109783564A (en) Support the distributed caching method and equipment of multinode
CN104202349B (en) The method of scheduling distributed buffer resources, Apparatus and system
CN108848002B (en) Dynamic GSLB processing method based on service delay
US8977595B1 (en) Message-recovery file log locating and monitoring
US10021176B2 (en) Method and server for managing traffic-overload on a server
EP3570169B1 (en) Method and system for processing device failure
CN111865659A (en) Method and device for switching master controller and slave controller, controller and network equipment
CN115002001B (en) Method, device, equipment and medium for detecting sub-health of cluster network
CN112104752B (en) Hot spot balancing method and system for cache nodes of content distribution network
CN110521233B (en) Method for identifying interrupt, access point, method for remote configuration, system and medium
CN102647424B (en) Data transmission method and data transmission device
CN114301763A (en) Distributed cluster fault processing method and system, electronic device and storage medium

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
GR01 Patent grant
GR01 Patent grant