Design a Multiplexed Protocol
Use this worksheet to design your own one-road, many-channels system before writing code.
Tip: this page auto-saves in this browser with localStorage. Nothing is submitted.
Worksheet ready.
1. Scenario
2. Frame format
| Field | Needed? | Reason |
|---|---|---|
channelId | Yes | Receiver must demultiplex. |
sequence | ||
timestamp | ||
priority | ||
length |
3. Fairness and backpressure
4. Failure plan
- What happens if a frame is missing?
- What happens if a channel never finishes?
- What happens if unknown channel appears?
- What metrics/logs show which channel is slow?