头晕是什么症状引起的| 走路脚心疼是什么原因| 续弦是什么意思| 茶叶五行属什么| 肺结核复发有什么症状| 背上长毛是什么原因引起的| cp1是什么意思| 狐臭和腋臭有什么区别| 男人精液少是什么原因| 西瓜不能和什么一起吃| 绿本是什么| 爱因斯坦发明了什么| 1948年属鼠的是什么命| 持续低烧不退是什么原因| 梦见缝被子是什么意思| 什么的小河| 脑缺血灶吃什么药| 外阴瘙痒用什么药| 西葫芦炒什么好吃| 内分泌失调是什么症状| 骨龄是什么意思| 手癣用什么药| 别有洞天是什么生肖| 宵夜吃什么好| 为什么会得鼻炎| 为什么尽量不打免疫球蛋白| 恶寒发热是什么意思| 身份证号码的数字代表什么意义| 夏侯霸为什么投降蜀国| 里急后重什么意思| 姨妈来了吃什么水果好| 折耳根什么味道| 为什么脸上总是出油| 心率高吃什么药| 潮喷是什么感觉| 日加华念什么| 一冷就咳嗽是什么原因| 吃什么能消除囊肿| 炎细胞浸润是什么意思| 令坦是对方什么人的尊称| 血便是什么颜色| 红红的太阳像什么| 脑瘫是什么意思| 12月27日是什么星座| 灯五行属什么| 吃什么补气血| 耳声发射检查是什么| 什么水果降血糖| 肺部增殖灶是什么意思| 感冒低烧吃什么药| 翼字五行属什么| 雷贝拉唑钠肠溶片什么时候吃| 甲状腺囊实性结节是什么意思| 规培结束后是什么医生| 缺钾有什么症状| 果脯是什么| 什么病不能吃狗肉| 天天喝绿茶有什么好处和坏处| 昂字五行属什么| 儿童抗o高会引起什么病| oce是什么牌子| 糖醋里脊是什么肉做的| 为什么一睡觉就做梦| 吃鹅蛋对孕妇有什么好处| 正骨有什么好处和坏处| 移花接木的意思是什么| 阴道口长什么样| 逍遥丸什么人不能吃| 为什么会尿酸高| 吃什么可以散结节| 衣字旁的字和什么有关| 什么叫情商高| 扁桃体炎吃什么药最好| 珎是什么意思| 愿闻其详是什么意思| 吃瓜什么意思| 人总放屁是什么原因| 贫血的人来姨妈会有什么症状| 大洋马是什么意思| 蛐蛐吃什么食物| 今年什么时间进伏| 挂钟挂在客厅什么位置好| 招财进宝是什么生肖| remax是什么牌子| 什么叫原研药| 讲师是什么职称| 特种兵是什么兵种| 电动车电池什么牌子好| 龙凤呈祥代表什么生肖| 血清肌酐高说明什么问题| 可悲可叹是什么意思| 辰时是什么时候| 黑加仑是什么| 无与伦比是什么意思| 友友是什么意思| 喉咙溃疡吃什么药| roma是什么意思| 什么的名字| 一只脚心疼是什么原因| 食古不化是什么意思| 一命呜呼是什么意思| 人活着到底有什么意义| 独守空房是什么意思| 少一个睾丸有什么影响| 一什么毛巾| 送钱包的寓意是什么| 性生活有什么好处| a型血可以接受什么血型| 臭粉是什么东西| 降压灵又叫什么| 月经来前有什么征兆| 蚯蚓用什么呼吸| 昆明的别称是什么| 心代表什么生肖| 脊髓灰质炎是什么病| 掉头发吃什么维生素| 古代广东叫什么| 想长胖喝什么奶粉好| 老人尿失禁吃什么药最好| 女生喜欢什么礼物| 黄瓜与什么相克| 95511是什么号码| 印度人信仰什么教| 精尽人亡是什么意思| 腰椎间盘突出压迫神经吃什么药| 腊月是什么月| 直辖市是什么级别| 泡沫尿挂什么科| 传宗接代是什么意思| 补充微量元素吃什么| 浪子是什么意思| 寅木代表什么| 肺炎是什么原因引起的| 巨蟹座女和什么座最配| 补血吃什么水果| 白芷有什么作用与功效| 鼻窦炎是什么样子的| 为什么妇科病要肛门塞药| 小孩子注意力不集中是什么原因| 全日制专科是什么意思| 婚检都查什么| 甲功五项是什么意思| amy是什么意思| 2022年是什么生肖| 蝴蝶有什么寓意| 胃胀气用什么药最好| 炭疽是什么| 腿困是什么原因引起的| 撒贝宁是什么族| 什么是低碳饮食| 狗贫血吃什么补血最快| 暗无天日是什么意思| 茄子能治什么病| ab和b型血生的孩子是什么血型| 凯格尔运动是什么| 打呼噜是什么病| 慢性非萎缩性胃炎伴糜烂吃什么药| philips是什么牌子| 脚肿腿肿是什么原因引起的| 梦见狗打架是什么意思| 后羿射日什么意思| 精不液化是什么原因导致的| 嗓子哑了吃什么药好| 呼吸快是什么原因| 嘴唇肿起来一般是什么原因引起的| 女人吃桃子有什么好处和坏处| 吴亦凡什么星座| 子宫小是什么原因引起的| 椎间盘膨出是什么意思| 脚趾头麻木是什么原因引起的| 支气管哮喘是什么原因引起的| 支气管病变什么意思| 人工降雨的原理是什么| 头疗是什么| 下午六点是什么时辰| 1973年是什么命| 天蝎座跟什么星座最配| 太阳光是什么颜色| 户名是什么意思| 强肉弱食是什么意思| 腰酸背痛是什么原因| 手起倒刺吃什么维生素| 内分泌失调有什么症状| 611是什么意思| 运是什么意思| 老过敏是缺什么维生素| 孕妇吃维生素c有什么好处| 木日念什么| 7月30日什么星座| 肛裂用什么药治最好效果最快| 杏干泡水喝有什么功效| 喜大普奔什么意思| 大腿根部内侧瘙痒用什么药膏| 丙氨酸是什么| 保拉纳啤酒什么档次| 过氧化氢是什么意思| 血糖高吃什么主食最好| 荣辱与共是什么生肖| 黄皮是什么水果| 官符是什么意思| 自己开店做什么赚钱| 后背发麻是什么原因| 口腔溃疡白色的是什么| chick什么意思| 心肌桥是什么意思| 神经性耳鸣有什么症状| 负责任是什么意思| 柳字五行属什么| 经常口腔溃疡是什么原因引起的| 向日葵代表什么| 控线是什么意思| 桃子是什么季节的水果| 9月初是什么星座| 朱红色是什么颜色| 什么叫腱鞘炎| 人吃什么才能长胖| 尿素氮偏高是什么意思| reads是什么意思| 吃完饭就想睡觉是什么原因| 经常饿肚子会导致什么后果| 以色列是什么人种| 脱发是什么病| 不伤肝的他汀类药是什么| 唇钉是干什么用的| 血糖高喝什么好| 下午4点半是什么时辰| 免疫组织化学染色诊断是什么| 命里缺水取什么名字好| 豆汁是什么| 应用心理学是什么| 精液是什么| 吃红糖有什么好处和坏处| 希尔福是什么药| 82年属狗是什么命| 盆腔炎用什么药效果好| 孔雀蓝是什么颜色| 大姨妈不来是什么原因造成的| 游泳要带什么东西| 窦房结内游走性心律是什么意思| 系统是什么| 27岁属什么| 怀孕了尿液是什么颜色| 小便无力是什么原因男| 回是什么生肖| 舌头发紫是什么原因| 为什么不建议小孩吃罗红霉素| 囊肿什么意思| 吃什么东西养胃最有效| 素颜霜是干什么用的| 面包虫吃什么| 子宫内膜16mm说明什么| 乙型肝炎病毒表面抗体阳性是什么意思| 口胃读什么| 瞽叟是什么意思| 7月22日什么星座| 命根子是什么| 范冰冰和洪金宝什么关系| 醋栗是什么东西| 鸡冠油是什么| 晓五行属性是什么| 早餐一般吃什么| 鸡蛋价格为什么这么低| 分诊是什么意思| 女人梦见棺材是什么征兆| 百度

多位权威专家:中国有能力有信心应对任何挑战

百度   然而傲慢的美国政府看来不可能接受晓之以理而变得清醒些。

Network latency is the amount of time it takes for a data packet to go from one place to another. Lowering latency is an important part of building a good user experience.

Learning Objectives

After reading this article you will be able to:

  • Understand what latency is and what causes it
  • Explain the differences between network latency, bandwidth, and throughput
  • Learn how to reduce latency

Related Content


Want to keep learning?

Subscribe to theNET, Cloudflare's monthly recap of the Internet's most popular insights!

Refer to Cloudflare's Privacy Policy to learn how we collect and process your personal data.

Copy article link

What is latency?

Latency is the time it takes for data to pass from one point on a network to another. Suppose Server A in New York sends a data packet to Server B in London. Server A sends the packet at 04:38:00.000 GMT and Server B receives it at 04:38:00.145 GMT. The amount of latency on this path is the difference between these two times: 0.145 seconds or 145 milliseconds.

Most often, latency is measured between a user's device (the "client" device) and a data center. This measurement helps developers understand how quickly a webpage or application will load for users.

Although data on the Internet travels at the speed of light, the effects of distance and delays caused by Internet infrastructure equipment mean that latency can never be eliminated completely. It can and should, however, be minimized. A high amount of latency results in poor website performance, negatively affects SEO, and can induce users to leave the site or application altogether.

Improve security
Defend against “Top 10” attack techniques

What causes Internet latency?

One of the principal causes of network latency is distance, specifically the distance between client devices making requests and the servers responding to those requests. If a website is hosted in a data center in Columbus, Ohio, it will receive requests fairly quickly from users in Cincinnati (about 100 miles away), likely within 5-10 milliseconds. On the other hand, requests from users in Los Angeles (about 2,200 miles away) will take longer to arrive, closer to 40-50 milliseconds.

An increase of a few milliseconds may not seem like a lot, but this is compounded by all the back-and-forth communication necessary for the client and server to establish a connection, the total size and load time of the page, and any problems with the network equipment the data passes through along the way. The amount of time it takes for a response to reach a client device after a client request is known as round trip time (RTT). RTT is equal to double the amount of latency, since data has to travel in both directions — there and back again.

Data traversing the Internet usually has to cross not just one, but multiple networks. The more networks that an HTTP response needs to pass through, the more opportunities there are for delays. For example, as data packets cross between networks, they go through Internet Exchange Points (IXPs). There, routers have to process and route the data packets, and at times routers may need to break them up into smaller packets, all of which adds a few milliseconds to RTT.

Network latency, throughput, and bandwidth

Latency, bandwidth, and throughput are all interrelated, but they all measure different things. Bandwidth is the maximum amount of data that can pass through the network at any given time. Throughput is the average amount of data that actually passes through over a given period of time. Throughput is not necessarily equivalent to bandwidth, because it is affected by latency and other factors. Latency is a measurement of time, not of how much data is downloaded over time.

Whitepaper
Optimize web performance load balancing best practices

How can latency be reduced?

Use of a CDN (content delivery network) is a major step towards reducing latency. A CDN caches static content and serves it to users. (The Cloudflare CDN makes it possible to cache dynamic content as well with Cloudflare Workers.) CDN servers are distributed in multiple locations so that content is stored closer to end users and does not need to travel as far to reach them. This means that loading a webpage will take less time, improving website speed and performance.

Other factors aside from latency can slow down performance as well. Web developers can minimize the number of render-blocking resources (loading JavaScript last, for example), optimize images for faster loading, and reduce file sizes wherever possible. Code minification is one way of reducing the size of JavaScript and CSS files.

It is possible to improve perceived page performance by strategically loading certain assets first. A webpage can be configured to load the above-the-fold area of a page first so that users can begin interacting with the page even before it finishes loading (above the fold refers to what appears in a browser window before the user scrolls down). Webpages can also load assets only as they are needed, using a technique known as lazy loading. These approaches do not actually improve network latency, but they do improve the user's perception of page speed.

How can users fix latency on their end?

Sometimes, network "latency" (slow network performance) is caused by issues on the user's side, not the server side. Consumers always have the option of purchasing more bandwidth if slow network performance is a consistent issue, although bandwidth is not a guarantee of website performance. Switching to Ethernet instead of WiFi will result in a more consistent Internet connection and typically improves Internet speed. Users should also make sure their Internet equipment is up to date by applying firmware updates regularly and replacing equipment altogether as necessary.

普陀山求什么最灵验 眼睛蒙蒙的是什么原因 教师节是什么时候 大学211和985是什么意思 又拉肚子又呕吐是什么原因
胃热吃什么药效果好 市公安局局长什么级别 十多块钱的烟什么好抽 女人右眼跳是什么意思 copd什么意思
右眼皮跳是什么意思 小孩发烧吃什么药 怀孕吃什么水果好对胎儿好 乱花渐欲迷人眼是什么意思 霸天虎和威震天是什么关系
血小板低看什么科 月经周期变短是什么原因 酸菜鱼的酸菜是什么菜 丝瓜水敷脸有什么作用 献血和献血浆有什么区别
严肃的什么sanhestory.com 中药木香的功效与作用是什么hcv8jop6ns5r.cn 碘缺乏会导致什么疾病hcv9jop5ns0r.cn 头油是什么原因引起的hcv8jop5ns4r.cn 立冬北方吃什么travellingsim.com
流金是什么字cj623037.com 美业是什么行业hcv9jop5ns1r.cn 不知所云是什么意思youbangsi.com 2036年是什么年hcv8jop5ns4r.cn 一天两包烟会导致什么后果hcv8jop9ns3r.cn
沙棘原浆有什么功效hcv9jop2ns5r.cn 副局级干部是什么级别hcv8jop9ns0r.cn 命门火衰是什么意思jiuxinfghf.com 肝脏的主要功能是什么baiqunet.com 气血不足是什么症状clwhiglsz.com
什么山没有石头hcv8jop6ns5r.cn 熊掌有什么功效与作用hcv8jop5ns8r.cn 哪些动物的尾巴有什么作用hcv9jop3ns5r.cn 两千年前是什么朝代hcv9jop1ns0r.cn 三联律是什么意思jasonfriends.com
百度