Movatterモバイル変換


[0]ホーム

URL:


CN108848002B - A dynamic GSLB processing method based on service delay - Google Patents

A dynamic GSLB processing method based on service delay
Download PDF

Info

Publication number
CN108848002B
CN108848002BCN201810570528.0ACN201810570528ACN108848002BCN 108848002 BCN108848002 BCN 108848002BCN 201810570528 ACN201810570528 ACN 201810570528ACN 108848002 BCN108848002 BCN 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 CorpfiledCriticalNARI Group Corp
Priority to CN201810570528.0ApriorityCriticalpatent/CN108848002B/en
Publication of CN108848002ApublicationCriticalpatent/CN108848002A/en
Application grantedgrantedCritical
Publication of CN108848002BpublicationCriticalpatent/CN108848002B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

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)

CN201810570528.0A2018-06-052018-06-05 A dynamic GSLB processing method based on service delayActiveCN108848002B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201810570528.0ACN108848002B (en)2018-06-052018-06-05 A dynamic GSLB processing method based on service delay

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201810570528.0ACN108848002B (en)2018-06-052018-06-05 A dynamic GSLB processing method based on service delay

Publications (2)

Publication NumberPublication Date
CN108848002A CN108848002A (en)2018-11-20
CN108848002Btrue CN108848002B (en)2021-07-16

Family

ID=64210376

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201810570528.0AActiveCN108848002B (en)2018-06-052018-06-05 A dynamic GSLB processing method based on service delay

Country Status (1)

CountryLink
CN (1)CN108848002B (en)

Citations (10)

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

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US7096263B2 (en)*2000-05-262006-08-22Akamai Technologies, Inc.Method for predicting file download time from mirrored data centers in a global computer network
CN101146022A (en)*2006-09-112008-03-19思华科技(上海)有限公司Node overlapping content distribution network
CN102763375A (en)*2009-12-232012-10-31思杰系统有限公司Systems and methods for gslb spillover
CN102207891A (en)*2011-06-102011-10-05浙江大学Method for achieving dynamic partitioning and load balancing of data-partitioning distributed environment
US9032488B2 (en)*2012-04-172015-05-12Salesforce.Com, Inc.Cross instance user authentication architecture
CN102891804A (en)*2012-10-162013-01-23中兴通讯股份有限公司南京分公司Control strategy adjustment method and system
CN104022891A (en)*2013-02-282014-09-03杭州华三通信技术有限公司Global load balancing equipment business coordination method and device
CN105704708A (en)*2014-11-252016-06-22中兴通讯股份有限公司Mobile network content distribution method, device and system
CN106657201A (en)*2015-11-032017-05-10中兴通讯股份有限公司Data processing method and device for GSLB scheduling system
CN105262857A (en)*2015-11-042016-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 numberPublication date
CN108848002A (en)2018-11-20

Similar Documents

PublicationPublication DateTitle
US11611592B1 (en)Multiple-master DNS system
KR102238612B1 (en) DoS/DDoS attack detection method, device, server and storage medium
EP2563062B1 (en)Long connection management apparatus and link resource management method for long connection communication
CN106293892B (en)Distributed stream computing system, method and apparatus
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
CN106210147A (en)A kind of load-balancing method based on poll and device
CN102148850A (en)Cluster system and service processing method thereof
WO2019033475A1 (en)Automatic relay switching method and related product
US10021176B2 (en)Method and server for managing traffic-overload on a server
CN105007193A (en)Multi-layer information processing method, system thereof and cluster management node
CN110839023B (en) A multi-channel customer service system for power marketing
US20240244414A1 (en)Session binding relationship processing method and apparatus, electronic device, and readable medium
WO2020055711A1 (en)Method and apparatus for reporting power down events in a network node without a backup energy storage device
CN106453504A (en)Monitoring system and method based on NGINX server cluster
CN108848002B (en) A dynamic GSLB processing method based on service delay
JP2014211758A (en)Cache server device, cache control method, and cache control program
EP3570169B1 (en)Method and system for processing device failure
CN109510730B (en)Distributed system, monitoring method and device thereof, electronic equipment and storage medium
CN114090293B (en)Service providing method and electronic equipment
CN102647424B (en)Data transmission method and data transmission device
CN114301763B (en)Distributed cluster fault processing method and system, electronic equipment and storage medium
CN116841834A (en)State adjustment method and device, storage medium and electronic device
CN113821342B (en)Method, device, equipment and readable medium for balancing cluster websocket service load

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp