Tuesday, December 01, 2026

Principles of Communications - Week -1 1.12.2026

Some practical fixes to Internet Challenges

MPTCP 

    Some easy cases: multihomed hosts, equal cost multipath, and data center (Clos) networks.

    General multipath routing (esp. BGP) less widely deployed

QUIC - web latency ("happy eyeballs")

    Removes 2nd&subsequent 3-way handshakes + 

    Remove head of line blocking for multi-object web pages.

WebRTC - Multimedia Conferencing portabilty & signaling

    Browser as an OS (almost)

    NAT traversal a given (via web server proxy/turn etc)

Tiny TCP - low resource devices out there on low resource links...

    1 MSS packet, 1 Ack, done.

    a bit of care with RTT estimators

Monday, November 23, 2026

Principles of Communications - Week 8 24-26.11.2026

 This week is 

1/ Traffic Engineering, with some economics 

2/ Systems Thinking, with some philosophy

Tuesday, November 17, 2026

Principles of Communications - Week 7 17-19.11.2026

1. Data Center Networks - 

Usual Clos/Fat Tree topology

Known traffic source, traffic matrix behaviour.

Tail latency, caused by TCP "incast" traffic pattern, leading to stragglers, are the problems especially for distributed computations (pagerank or any map/reduce, or stochastic  gradient descent, or AI training apps where they are doing data&pipeline parallelism (a lot!).

Extra-curricular reading:

i) Amazon's new experimental RNG topology based on old Jellyfish idea

ii) OpenAI's new experimental MRC protocol stack based on old NDP idea

2. Optimisation

Centralised > traffic engineering for throughput/latency - recall when we discussed fibbing (hybrid centralised/decentralised routing) we had policies which set the rates on alternate paths - but you could also split traffic over multiple paths (aka load balancing) to reduce mean delay - so the optimisation framework presented here would be the input for that split ratio.

Decentralised > TCP fairness/congestion control (pricing)

In formulating the network utility, the reason we take log of packet rates in the sum is that the trade of rate from a source going at 1Mbps up to 2Mbps has more utility than for another source going say down from 101Mbps to 100Mbps - this means the optimisation provides what is called "proportional fairness".



The Computer Systems Modeling course also gives more queuing models that would let you build the better function for getting closer to ideal rate allocations in the last section of the optimisation lecture for real world deployments.

Note that we mentioned optimisation under Fibbing, where central controllers might be splitting traffic to reduce delays - the folks that invented fibbing also devised DeFo which was a nice declarative programming environment for carrying this out.


Monday, November 09, 2026

Principles of Communications - Week 6 10-12.11.2026

 This week we are covering two related aspects of network resource allocation:

  • flow&congestion control - typically end-to-end, running in sending and receiving systems 
  • scheduling - typically what happens in switches and routers within the network.
Simple TCP-like flow control can operate with First Come First Serve (FCFS or First in First Out/FIFO) schedulers. More complex flow and congestion control might do better with some sort of fair scheduling possibly with per-flow state in the net. More modern end-to-end protocols like QUIC still operate like TCP with regards flow & congestion control.

Open Loop flow control systems have a call setup, and then run according to their traffic descriptor (subject to policing, maybe at the edge of the net) - but they then depend on more complex schedulers within the network to isolate packet flows and potentially provide minimum packet rate and delay guarantees, according to some fairness constraints, so probably need more per-flow state within the network.

Keshav has used Claude to help built a model of this for the Computer Systems Modeling course see here,

Monday, November 02, 2026

Principles of Communications - Week 5 3-5.11.2026

1. random telephone routing 

c.f. triangles

can we greedily find the tandem? (only) if you want to check the reasoning behind that part of DAR!

idea closely related to Valiant Load Balancing, widely used in data centers and wide area networks.

2. random drop congestion - serioiusly, today's lecture is mainly revision of IB congestion/flow control...

c.f.TCP arena 

how many TCPs are there, really? again, only here for the keen background reader!

ref: there's a very nice study of general applicability of random choices in this harvard paper by Mizenmacher, if you want some more background reading...


3. flow control - there's actually an underlying theory how to manage dynamic system feedback control, that goes back to James CLerk Maxwell - see on governors and wonder how steam engines and internet traffic use the same ideas to run stably and efficiently, over 100 years apart!

 

Tuesday, October 27, 2026

Principles of Communications Week 4 27-29.10.2026

 This week we covered BGP abstract models (Stable Paths in Interdomain Routing) and Performance challenges from the dynamic behaviour of users.

Then we went on to Multicast Routing:

Two compelling applications were tv/radio broadcast and software distribution. However, application layer overlays (Content Distribution Networks) have subsumed those needs - a great example is how Zoom coordinates multiparty sessions - this talk by their CEO is instructive. Also interesting is this paper on netflix content distribution approach.

Thursday, October 15, 2026

Principles of Communications Week 3 20-22/10/2026

 

Interdomin routing-  BGP - key 4 slides - 125 127 132 133 in https://www.cl.cam.ac.uk/teaching/2627/PrincComm/slides/routing.pdf


Routing is about choosing paths, if there are alternatives. Choice may be based on local, as well as neighbour and global inputs. BGP mixes this up in interesting ways:

Moving from intra-domain (within one autonomous system/routing domain/internet service provider) to intradomain, the key change is from policy within a domain (as used for steering traffic in centralised routing or in mpls or segment routing) to policy between multiple autonomous (i.e. independent) domains who may have conflicts and often require some level of information hiding (protecting knowledge of their customers' needs from competitors). So while connectivity is the minimum requirement, there's often no shared goal in terms of what is "optimal" (i.e. what routing metric to use) - we'll see that in default cases, for traffic engineering, and various tie breaking reasons, metrics implicitly creep in as an implici part of BGP routing, but not in any way consistently.


Two nice questions in this lecture: Different clients in an AS have different shortest path to egress routers - so how do we use MEDs - this is basically each prefix advertised to the neighbour ASs has attriabutes so we can list each local prefix with a different MED to match its preferred route for traffic inbound towards it!

And what if an AS is very geographically distributed ? how do we configure that? I think ideally one might split into multiple ASs and then use BGP confederations (see slide 123 in routing link above).








The last thing on BGP is going to follow from Traffic Engineering and asks two questions: what really is the model BGP implements, to better understand how it works (and goes wrong)? and What engineering tweaks can we do to make it actually operate better in practice. We'll finish up on this on Oct 27-29th