Skip to content

Commit 02c518e

Browse files
committed
Add FAQ to latency vs bandwidth post
1 parent c4a0e33 commit 02c518e

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

_posts/2019-01-31-bandwidth-or-latency-when-to-optimise-which.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@ title: "Bandwidth or Latency: When to Optimise for Which"
44
date: 2019-01-31 14:11:15
55
categories: Web Development
66
meta: "How can you tell when bandwidth or latency are your bottlenecks?"
7+
faq:
8+
- question: "What is the difference between latency and bandwidth?"
9+
answer: "Bandwidth is the amount of data that can be transferred over a connection, while latency is how long it takes data to travel from one point to another. Bandwidth is about capacity; latency is about delay."
10+
- question: "Which matters more for web performance: latency or bandwidth?"
11+
answer: "For most day-to-day web browsing, latency is often the bigger bottleneck because pages are made up of many relatively small requests, each of which pays network overhead before download even begins."
12+
- question: "When should I optimise for bandwidth?"
13+
answer: "Optimising for bandwidth matters most when you are transferring larger files, such as images, video, or other heavy assets where download time dominates overall request time."
14+
- question: "When should I optimise for latency?"
15+
answer: "Optimising for latency matters most when requests are small and network negotiation takes longer than the actual download, which is very common on the web."
16+
- question: "How can I tell whether a request is bandwidth-bound or latency-bound?"
17+
answer: "A quick way is to compare total request time with the network-overhead time shown in Chrome DevTools’ large request rows. If most of the time is spent negotiating the request, latency is the bottleneck; if most of it is spent downloading bytes, bandwidth is the bottleneck."
718
---
819

920
When it comes to network performance, there are two main limiting factors that

0 commit comments

Comments
 (0)