Urgent.News

What's breaking now, across thousands of outlets.

Tech

Head-of-Line Blocking in HTTP

An asynchronous HTTP/1.1 server can handle many connections concurrently while still serializing work within each connection. Send a slow request followed by a fast request over the same persistent connection, and the fast response remains trapped behind the slow one. Send those requests over separate connections, and the fast response can arrive immediately. That behavior is head-of-line…

When a slow HTTP request is sent followed by a fast request over the same persistent connection, the faster response becomes delayed behind the slower one. This phenomenon is known as head-of-line blocking. HTTP/2 tackles this issue at the application layer by dividing a connection into independently identified streams. In contrast, HTTP/3 goes even further by running over QUIC, which uses transport-level streams that avoid the cross-stream blocking caused by TCP's single ordered byte stream. The key difference lies in the scheduling and framing mechanisms of these protocols.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

ATProto for Distributed Systems Engineers: How Bluesky's Protocol Reimagines Social Infrastructure

Bluesky's AT Protocol is often dismissed as "just another Twitter alternative." But if you read the new technical deep dive aimed at distributed systems engineers, you'll find something much more…

  • ATProto reimagines social platforms from the ground up, challenging conventional web architecture.
  • Uses a federated model with user-controlled data stores and cryptographically signed repositories.
  • Separates app view from personal data store, allowing multiple app types to run on the same data.

Three checks in our codebase that could not fail

Last night I found three checks in our own codebase that could not fail. Not checks that were failing to catch things. Checks that were structurally incapable of ever going red, while reporting green…

  • Three code checks in the system are structurally incapable of failing
  • First check uses verifier with line-for-line copy of the rule it enforces
  • Second check asserts its own arithmetic, reporting PASS with mismatched assertions

How ReactJS Can Improve User Experience and Boost Your Bottom Line?

Most content about ReactJS and business value follows the same template: virtual DOM makes it fast, components make it reusable, fast and reusable means good for business.

  • ReactJS improves user experience with virtual DOM updating only changed components.
  • Component reusability speeds development, reduces bugs, and enhances codebase stability.
  • React Native enables cross-platform app development, lowering maintenance costs.

More from Monday 10 August →