Method and device for realizing load balancing

A technology of load balancing and domain name resolution, applied to electrical components, transmission systems, etc., can solve problems such as load imbalance

Active Publication Date: 2017-11-03
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF10 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since the existing balancing solution uses multiple processes for domain name resolution, when the load balancing server receives multiple domain name resolution requests at the same time, the multiple processes in the load balancing server will simultaneously perform domain name resolution. The load bal

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
  • Method and device for realizing load balancing
  • Method and device for realizing load balancing
  • Method and device for realizing load balancing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0034] see figure 1 , figure 1 It shows a first flow chart of a method for implementing load balancing provided by an embodiment of the present invention. A method for implementing load balancing provided by an embodiment of the present invention may include:

[0035] S11: Receive a domain name resolution request, judge whether the pre-created shared status bit is in the status of existing process and domain name resolution, if not, execute step S12, if yes, ...

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 method and a device for realizing load balancing. The method includes the following steps: receiving a domain name resolution request, and determining whether a pre-created shared state bit is a state in which there is a process implementing domain name resolution; if the pre-created shared state bit is not a state in which there is a process implementing domain name resolution, modifying the shared state bit to a state in which there is a process implementing domain name resolution, and carrying out domain name resolution on the received domain name resolution request; if the pre-created shared state bit is a state in which there is a process implementing domain name resolution, waiting until determining that the pre-created shared state bit is a state in which there is no process implementing domain name resolution, modifying the shared state bit to a state in which there is a process implementing domain name resolution, and carrying out domain name resolution on the received domain name resolution request; and at the end of domain name resolution, making the shared state bit restored to a state in which there is no process implementing domain name resolution. According to the technical scheme, through restraining the state of the shared state bit, there is only one domain name resolution carried out at the same time, and domain name resolution can be implemented according to a preset load balancing strategy in order to achieve load balancing.

Description

technical field [0001] The present invention relates to the technical field of Internet access, and more specifically, to a method and device for realizing load balancing. Background technique [0002] With the rapid progress and development of network technology, people access the Internet more and more frequently. Among them, DNS (Domain Name System, Domain Name System) is a distributed database that can map domain names and IP addresses to each other, which can make people access the Internet more conveniently. [0003] At present, the existing DNS load balancing can achieve the load balancing effect according to the preset load balancing strategy under low load. Among them, the load balancing refers to evenly distributing the clients on each node of the cluster to achieve business Balance the effect to avoid excessive business pressure on a certain node. Concurrency means that multiple programs are running at the same time. Here, they are all processing domain name res...

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
IPC IPC(8): H04L29/08H04L29/12
CPCH04L67/1004H04L61/4511
Inventor 张帅
Owner SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products