[{"data":1,"prerenderedAt":143},["ShallowReactive",2],{"term-l\u002Flatency":3,"related-l\u002Flatency":126},{"id":4,"title":5,"acronym":6,"body":7,"category":108,"description":109,"difficulty":110,"extension":111,"letter":112,"meta":113,"navigation":65,"path":114,"related":115,"seo":120,"sitemap":121,"stem":124,"subcategory":6,"__hash__":125},"terms\u002Fterms\u002Fl\u002Flatency.md","Latency",null,{"type":8,"value":9,"toc":102},"minimark",[10,15,19,23,26,30,91,95,98],[11,12,14],"h2",{"id":13},"eli5-the-vibe-check","ELI5 — The Vibe Check",[16,17,18],"p",{},"Latency is the delay before data starts moving — the time it takes for a request to go from your device to the server and back. It's measured in milliseconds (ms). Low latency = fast and snappy. High latency = laggy. Bandwidth is about how much, latency is about how fast.",[11,20,22],{"id":21},"real-talk","Real Talk",[16,24,25],{},"Latency is the time delay between initiating a network request and receiving the first byte of the response. It's affected by physical distance, number of hops, network congestion, and processing time. Often measured as Round Trip Time (RTT).",[11,27,29],{"id":28},"show-me-the-code","Show Me The Code",[31,32,37],"pre",{"className":33,"code":34,"language":35,"meta":36,"style":36},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# Measure latency with ping\nping google.com\n\n# Output example:\n# 64 bytes from 142.250.80.46: icmp_seq=0 ttl=117 time=12.4 ms\n#                                                         ^^^^^^^^^\n#                                                         latency = 12.4ms\n","bash","",[38,39,40,49,60,67,73,79,85],"code",{"__ignoreMap":36},[41,42,45],"span",{"class":43,"line":44},"line",1,[41,46,48],{"class":47},"sHwdD","# Measure latency with ping\n",[41,50,52,56],{"class":43,"line":51},2,[41,53,55],{"class":54},"sBMFI","ping",[41,57,59],{"class":58},"sfazB"," google.com\n",[41,61,63],{"class":43,"line":62},3,[41,64,66],{"emptyLinePlaceholder":65},true,"\n",[41,68,70],{"class":43,"line":69},4,[41,71,72],{"class":47},"# Output example:\n",[41,74,76],{"class":43,"line":75},5,[41,77,78],{"class":47},"# 64 bytes from 142.250.80.46: icmp_seq=0 ttl=117 time=12.4 ms\n",[41,80,82],{"class":43,"line":81},6,[41,83,84],{"class":47},"#                                                         ^^^^^^^^^\n",[41,86,88],{"class":43,"line":87},7,[41,89,90],{"class":47},"#                                                         latency = 12.4ms\n",[11,92,94],{"id":93},"when-youll-hear-this","When You'll Hear This",[16,96,97],{},"\"The latency to Asia-Pacific is 200ms — we should add a CDN node there.\" \u002F \"High latency is killing the gaming experience.\"",[99,100,101],"style",{},"html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":36,"searchDepth":51,"depth":51,"links":103},[104,105,106,107],{"id":13,"depth":51,"text":14},{"id":21,"depth":51,"text":22},{"id":28,"depth":51,"text":29},{"id":93,"depth":51,"text":94},"networking","Latency is the delay before data starts moving — the time it takes for a request to go from your device to the server and back.","beginner","md","l",{},"\u002Fterms\u002Fl\u002Flatency",[116,117,118,119],"Ping","Bandwidth","TCP","CDN",{"title":5,"description":109},{"changefreq":122,"priority":123},"weekly",0.7,"terms\u002Fl\u002Flatency","wzfd7GNNrDBl59qxiVlef4WRiIcpRLElG93uQozd6do",[127,130,135,138],{"title":117,"path":128,"acronym":6,"category":108,"difficulty":110,"description":129},"\u002Fterms\u002Fb\u002Fbandwidth","Bandwidth is how wide your internet pipe is — how much data can flow through per second. A narrow pipe means slow speeds, a wide pipe means fast speeds.",{"title":119,"path":131,"acronym":132,"category":133,"difficulty":110,"description":134},"\u002Fterms\u002Fc\u002Fcdn","Content Delivery Network","cloud","A CDN is a network of servers spread around the world that store copies of your files.",{"title":116,"path":136,"acronym":6,"category":108,"difficulty":110,"description":137},"\u002Fterms\u002Fp\u002Fping","Ping is the simplest network test — you shout at a server ('hello?') and measure how long it takes to shout back ('yo!').",{"title":118,"path":139,"acronym":140,"category":108,"difficulty":141,"description":142},"\u002Fterms\u002Ft\u002Ftcp","Transmission Control Protocol","intermediate","TCP is like sending a package with delivery confirmation.",1776518291542]