Questions / Quant development, Networking & latency

QUIC has two flow-control budgets

Challenge, about 10 minutes. Question D272.

A QUIC sender has 3000 bytes of connection credit remaining. Stream A has 1800 bytes of stream credit and stream B has 2400. If A sends 1800 new bytes first, how many new bytes can B send without new credit?

Answer it in the app It's free. You get hints, a second try if you miss, and a follow-up question.

Show the answer and worked solution

Answer: 1200 bytes

  1. A reduces shared connection credit to 1200 bytes. B’s own 2400-byte allowance cannot override that smaller shared budget.

Interview shortcut. Sendable = min(stream credit, connection credit left).

In the app this has a follow-up where one thing about the setup changes. Try the follow-up.

More networking & latency questions