当前位置:网站首页>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 .
边栏推荐
- 从服务器到云托管,到底经历了什么?
- [programming problem] [scratch Level 2] March 2019 draw a square spiral
- 深潜Kotlin协程(二十三 完结篇):SharedFlow 和 StateFlow
- QT and OpenGL: loading 3D models using the open asset import library (assimp) - Part 2
- Qt添加资源文件,为QAction添加图标,建立信号槽函数并实现
- Sqlite数据库存储目录结构邻接表的实现2-目录树的构建
- Usage of limit and offset (Reprint)
- 什么是负载均衡?DNS如何实现负载均衡?
- Opengl3.3 mouse picking up objects
- 手写一个模拟的ReentrantLock
猜你喜欢
![[programming problem] [scratch Level 2] December 2019 flying birds](/img/5e/a105f8615f3991635c9ffd3a8e5836.png)
[programming problem] [scratch Level 2] December 2019 flying birds

Fully automated processing of monthly card shortage data and output of card shortage personnel information

【编程题】【Scratch二级】2019.03 垃圾分类
![[programming questions] [scratch Level 2] March 2019 garbage classification](/img/08/9f7ebf4302c9239784751b579c9efc.png)
[programming questions] [scratch Level 2] March 2019 garbage classification

Seven years' experience of a test engineer -- to you who walk alone all the way (don't give up)

The result of innovation in professional courses such as robotics (Automation)

Binder核心API

QT and OpenGL: loading 3D models using the open asset import library (assimp) - Part 2

How to learn a new technology (programming language)

ReentrantLock 公平锁源码 第0篇
随机推荐
【编程题】【Scratch二级】2019.09 制作蝙蝠冲关游戏
Flask learning record 000: error summary
【编程题】【Scratch二级】2019.12 绘制十个正方形
Trust orbtk development issues 2022
How to put recyclerview in nestedscrollview- How to put RecyclerView inside NestedScrollView?
Qt不同类之间建立信号槽,并传递参数
服务器防御DDOS的方法,杭州高防IP段103.219.39.x
腾讯安全发布《BOT管理白皮书》|解读BOT攻击,探索防护之道
ReentrantLock 公平锁源码 第0篇
1293_FreeRTOS中xTaskResumeAll()接口的实现分析
某马旅游网站开发(登录注册退出功能的实现)
Basic principle and usage of dynamic library, -fpic option context
The difference between -s and -d when downloading packages using NPM
A brief history of information by James Gleick
How to learn a new technology (programming language)
【测试面试题】页面很卡的原因分析及解决方案
[question de programmation] [scratch niveau 2] oiseaux volants en décembre 2019
玩转Sonar
詹姆斯·格雷克《信息简史》读后感记录
Introduction to paddle - using lenet to realize image classification method I in MNIST