当前位置:网站首页>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 .
边栏推荐
- What if the testing process is not perfect and the development is not active?
- How to insert highlighted code blocks in WPS and word
- “一个优秀程序员可抵五个普通程序员”,差距就在这7个关键点
- 攻防世界Web进阶区unserialize3题解
- Vscode software
- Open display PDF file in web page
- Use filters to count URL request time
- Installation and configuration of sublime Text3
- Basic principle and usage of dynamic library, -fpic option context
- Robomaster visual tutorial (1) camera
猜你喜欢
大数据开源项目,一站式全自动化全生命周期运维管家ChengYing(承影)走向何方?
Daily question brushing record (16)
[basis of recommendation system] sampling and construction of positive and negative samples
[研发人员必备]paddle 如何制作自己的数据集,并显示。
腾讯安全发布《BOT管理白皮书》|解读BOT攻击,探索防护之道
华为交换机S5735S-L24T4S-QA2无法telnet远程访问
80% of the people answered incorrectly. Does the leaf on the apple logo face left or right?
Qt不同类之间建立信号槽,并传递参数
Go learning notes (2) basic types and statements (1)
备库一直有延迟,查看mrp为wait_for_log,重启mrp后为apply_log但过一会又wait_for_log
随机推荐
Development of a horse tourism website (realization of login, registration and exit function)
How does the markdown editor of CSDN input mathematical formulas--- Latex syntax summary
redis你到底懂不懂之list
A brief history of information by James Gleick
The underlying principles and templates of new and delete
【史上最详细】信贷中逾期天数统计说明
RPA cloud computer, let RPA out of the box with unlimited computing power?
【编程题】【Scratch二级】2019.09 制作蝙蝠冲关游戏
应用实践 | 数仓体系效率全面提升!同程数科基于 Apache Doris 的数据仓库建设
Flask learning record 000: error summary
QT and OpenGL: loading 3D models using the open asset import library (assimp) - Part 2
玩转Sonar
Robomaster visual tutorial (0) Introduction
赞!idea 如何单窗口打开多个项目?
[programming problem] [scratch Level 2] draw ten squares in December 2019
关于组织2021-2022全国青少年电子信息智能创新大赛西南赛区(四川)复赛的通知
[C language] objective questions - knowledge points
The difference between get and post
Use filters to count URL request time
Notice on organizing the second round of the Southwest Division (Sichuan) of the 2021-2022 National Youth electronic information intelligent innovation competition