当前位置:网站首页>What is load balancing? How does DNS achieve load balancing?
What is load balancing? How does DNS achieve load balancing?
2022-07-08 00:22:00 【China Kuwait tripartite】
When configuring domain name resolution , We can point one domain name to multiple IP Do you ? The answer is yes , This is also what we passed DNS Common practices for load balancing .
One 、 What is load balancing ?
Some large videos 、 Game website or application , We are facing huge traffic all the time , A single server simply cannot meet normal access requests . So we need to equip multiple servers , Allocate traffic to reduce server pressure , Ensure business continuity , This is what we often call load balancing .
Two 、DNS How to realize load balancing ?
There are many ways to achieve load balancing , among DNS It is a very simple and effective technical means .
The principle is that we set multiple for the same domain name A Record , Point to different IP Address . When a user accesses ,DNS The server will return different information for the user according to the weight or geographical location IP. In this way, the allocation of access traffic is realized , It not only reduces the load pressure of a single server , It also improves the access speed of users .
Illustrate with examples , Beijing users visit the official websites of China and Kuwait (www.sfn.cn),DNS It will return according to the user address IP Address 1, Users in Shanghai visit the official websites of China and Kuwait ,DNS Returns a different IP Address 2, Among them, the judgment standard is the one with the least number of routes IP Address as the result of return .
3、 ... and 、DNS Advantages of load balancing
adopt DNS Load balancing , It saves the trouble of website management and maintenance load server , At the same time, it is more flexible in technology , The management of load balancing can be realized only by increasing or decreasing the parsing records . At the same time, many DNS( Such as those of China and Kuwait Cloud analysis ) It also supports domain name resolution based on geographical location , This will resolve the domain name to the server address closest to the user's geography , So as to speed up the parsing speed , Bring users a better access experience .
边栏推荐
- 关于组织2021-2022全国青少年电子信息智能创新大赛西南赛区(四川)复赛的通知
- [question de programmation] [scratch niveau 2] oiseaux volants en décembre 2019
- 【编程题】【Scratch二级】2019.03 垃圾分类
- What if the testing process is not perfect and the development is not active?
- 如果在构造函数中抛出异常,最好的做法是防止内存泄漏?
- Robomaster visual tutorial (10) target prediction
- [programming problem] [scratch Level 2] December 2019 flying birds
- 韦东山第三期课程内容概要
- [basis of recommendation system] sampling and construction of positive and negative samples
- Prompt configure: error: required tool not found: libtool solution when configuring and installing crosstool ng tool
猜你喜欢
Anaconda+pycharm+pyqt5 configuration problem: pyuic5 cannot be found exe
Trust orbtk development issues 2022
3年经验,面试测试岗20K都拿不到了吗?这么坑?
QT and OpenGL: load 3D models using the open asset import library (assimp)
CoinDesk评波场去中心化进程:让人们看到互联网的未来
52歲的周鴻禕,還年輕嗎?
面试题详解:用Redis实现分布式锁的血泪史
C language 001: download, install, create the first C project and execute the first C language program of CodeBlocks
Notice on organizing the second round of the Southwest Division (Sichuan) of the 2021-2022 National Youth electronic information intelligent innovation competition
Robomaster visual tutorial (1) camera
随机推荐
[C language] objective questions - knowledge points
Robomaster visual tutorial (11) summary
[programming problem] [scratch Level 2] December 2019 flying birds
备库一直有延迟,查看mrp为wait_for_log,重启mrp后为apply_log但过一会又wait_for_log
韦东山第二期课程内容概要
Using Google test in QT
詹姆斯·格雷克《信息简史》读后感记录
Common selectors are
Experience of autumn recruitment in 22 years
Summary of the third course of weidongshan
Daily question brushing record (16)
Tencent security released the white paper on BOT Management | interpreting BOT attacks and exploring ways to protect
[programming problem] [scratch Level 2] March 2019 draw a square spiral
SQL knowledge summary 004: Postgres terminal command summary
How does starfish OS enable the value of SFO in the fourth phase of SFO destruction?
Installation and configuration of sublime Text3
C# 泛型及性能比较
80%的人答错,苹果logo上的叶子到底朝左还是朝右?
The difference between get and post
ROS从入门到精通(九) 可视化仿真初体验之TurtleBot3