QamoosTech
Web & APIsHTTP and requestsIntermediate

Multiplexing

PronunciationMUL-tih-plek-sing

Definition

Multiplexing means sending many independent requests and responses at the same time over a single connection, instead of opening a new connection for each, as HTTP/2 does.

Where you hear it

In HTTP/2 and HTTP/3 explanations, gRPC, and performance talks about removing the need to bundle files.

Examples

  • HTTP/2 multiplexes dozens of requests over one TCP connection.
  • With multiplexing we no longer need domain sharding.
  • The browser loads the images and scripts over one connection, thanks to multiplexing.

Common mistake

Assuming it fixes everything. On HTTP/2 over TCP, one lost packet can still stall all the streams.

Don't confuse with

Connection pooling, which reuses several connections. Multiplexing shares one connection among many requests.

Say it at work

  • In a meeting or chatIs the server on HTTP/2 with multiplexing?
  • In an email or ticketFewer connections means less overhead.