Course
Network Protocol Design
A practitioner's guide to designing network protocols that survive loss, version skew, hostile input, operational reality, and decades of change.
Reviews
Enrolled members can rate this course.
No reviews yet.
Wire Format Fundamentals
Frames, length prefixes, type/length/value structures, handshakes, and parsing rules that keep endpoints aligned.
- 01Framing Before PayloadsChoose how receivers find message boundaries before designing fields, because ambiguous framing corrupts every feature built above it.24mOpen
- 02Wire Types and Encoding DisciplineDefine integer widths, endianness, canonical forms, string encodings, and numeric precision so implementations do not invent different protocols.21mOpen
- 03Handshakes, Capabilities, and ALPNDesign opening exchanges that establish identity, protocol selection, feature support, security parameters, and failure behavior without guessing.23mOpen
Correctness Under Pressure
State machines, retransmission, ordering, congestion awareness, and the failure modes that appear only under real networks.
- 01Protocol State Machines, Not HopeModel valid message sequences explicitly so invalid transitions, retries, resets, and half-closed connections have deterministic behavior.26mPremium
- 02Loss, Ordering, and RetransmissionDesign acknowledgments, sequence numbers, retransmission rules, and reordering behavior based on the reliability properties the application actually needs.25mPremium
- 03Congestion Awareness and Flow ControlSeparate receiver backpressure from network congestion control, and design senders that reduce load before loss becomes collapse.27mPremium
Evolution and Extensibility
Versioning, capability negotiation, forward compatibility, operational instrumentation, and lessons from HTTP and QUIC.
- 01Versioning Without Version HellUse version numbers, feature bits, extension points, and compatibility rules intentionally so old and new peers can coexist through long deployments.24mPremium
- 02Extensibility, Security, and Abuse ResistanceTreat extension points as attack surface: bound parser complexity, authenticate control semantics, and plan for malicious or malfunctioning peers.25mPremium
- 03Lessons from HTTP and QUIC EvolutionStudy how HTTP/1.1, HTTP/2, HTTP/3, TLS, and QUIC responded to ossification, head-of-line blocking, operational measurement, and deployment reality.29mPremium