WebTransport
medium 30 minWebTransport gives a browser and a server one encrypted HTTP/3 session that carries many independent reliable streams and also datagrams that may be lost.
Where it shows up
The same pattern appears across everyday software.
Multiplayer games
Joining, scoring and chat go on reliable streams. Positions go as datagrams, for example 60 times a second, and the newest one wins. See [game state sync](/learn/system-design/multiplayer-game-state-sync).
Live video
MediaMTX, an open source media server, lists WebTransport through the webtransport-go library. A frame can have its own stream, which is reset when it would be too late.
Collaboration tools
Edits to different parts of a document use different streams, so a slow image does not delay typing. Cursor positions are datagrams.
IoT and telemetry from web pages
Frequent sensor readings travel as datagrams, and commands use streams so that they arrive. Devices that are not browsers more often use [MQTT](/learn/system-design/mqtt).
Cloud gaming
Video comes down in pieces that are dropped when late. Key presses go up on a reliable stream, or repeated in several datagrams.
Market data screens
Price ticks can be datagrams because only the newest counts on a screen. Orders must use a stream and an [idempotency key](/learn/system-design/idempotency).