Latest / The Jolly Contrarian Life / The end-to-end principle
Transcript
- 0:17SPEAKER_00: Welcome to the Jolly Contrarian Podcast.
- 0:19SPEAKER_00: It's Sunday, 22nd of February, 2026.
- 0:22SPEAKER_00: It's in the life strand of the three podcasts that go out.
- 0:28SPEAKER_00: We have, of course, Crime and Punishment.
- 0:31SPEAKER_00: We have the one about Isdas for the anoraks.
- 0:33And this is the one where I just bloviate generally about
- 0:36things that interest me in the world.
- 0:39SPEAKER_00: And I'm going to start today what I hope will be an occasional series,
- 0:44SPEAKER_00: all very scattershot and all over the place.
- 0:46SPEAKER_00: as things always are, because that's the way the JC operates.
- 0:51SPEAKER_00: But it's going to be an occasional series about really cool,
- 0:55SPEAKER_00: fundamental and unintuitive ideas that power the world.
- 1:01SPEAKER_00: It's something I've been thinking about doing for a while.
- 1:03In my reading of popular science and stuff like that,
- 1:07you often come across
- 1:09SPEAKER_00: really clever,
- 1:10neat ideas that are worth exploring and sharing and diving into
- 1:15in a little bit
- 1:15more detail just to try and get a grip on how the world works
- 1:20and how the world
- 1:22SPEAKER_00: goes around.
- 1:23And the first one I'm going to start with is called the
- 1:27end-to-end principle.
- 1:29SPEAKER_00: This is something I came across many years ago,
- 1:32SPEAKER_00: reading a book which has now become quite a famous book by an American
- 1:37SPEAKER_00: jurisprudentialist,
- 1:40SPEAKER_00: legal scholar anyway,
- 1:42SPEAKER_00: an academic lawyer by the name of Lawrence Lessig.
- 1:45And he wrote a book in the early 2000s,
- 1:48possibly the late 1990s actually,
- 1:50called Code.
- 1:52SPEAKER_00: And then he wrote a second edition of that book called Code 2.0.
- 1:58And it was a legal analysis of how the internet works and what
- 2:03all this means for
- 2:05SPEAKER_00: copyright and things like that.
- 2:07SPEAKER_00: It was an incredibly erudite, well-researched and interesting book, I'd
- 2:13SPEAKER_00: commend it to anyone.
- 2:15SPEAKER_00: It was written in a very interesting way, a very internet savvy way.
- 2:19SPEAKER_00: In fact,
- 2:20SPEAKER_00: it was sort of crowdsourced,
- 2:22SPEAKER_00: or at any rate,
- 2:23SPEAKER_00: Professor Lessig wrote the majority of the text,
- 2:26SPEAKER_00: but then put it out to...
- 2:29SPEAKER_00: an audience to peer peer review and comments and update on it.
- 2:34SPEAKER_00: And I think certainly that's what happened to code version 2.0.
- 2:37SPEAKER_00: So the book is open source, uh, and subject to the copy left, uh,
- 2:44SPEAKER_00: principle of copyright.
- 2:46SPEAKER_00: I think Professor Lessig is somewhat modern in his view of information,
- 2:51SPEAKER_00: as you will see if you read the book.
- 2:53SPEAKER_00: So it's freely available if you want to download it.
- 2:57SPEAKER_00: I think you can do that with Professor Lessig's Blessing,
- 2:59but you can also buy an e-book or a physical copy of the book
- 3:03on Amazon and Mr.
- 3:05SPEAKER_00: Lessig gets a
- 3:07SPEAKER_00: royalty from that.
- 3:09SPEAKER_00: But in any case,
- 3:10SPEAKER_00: part of the book,
- 3:12SPEAKER_00: when he is setting up the foundation at the beginning,
- 3:16talks about how the internet works and how it's built and how
- 3:20it was structured
- 3:24SPEAKER_00: differently to networks that preceded it.
- 3:27SPEAKER_00: And this is an extremely interesting and enlightening and aha
- 3:34SPEAKER_00: brain flash sort of section of the book,
- 3:37SPEAKER_00: which I would commend to anyone,
- 3:39even if you don't go on to read Professor Lessig's thoughts
- 3:42about copyright and
- 3:44SPEAKER_00: things like that.
- 3:45So in any case,
- 3:46the end-to-end principle is a principle on which the internet
- 3:49was designed.
- 3:51And I'm going to try and tackle that prosaically by coming at
- 3:55it from something a
- 3:56SPEAKER_00: little bit more
- 3:59SPEAKER_00: and familiar to the average working stiff, and that is central heating.
- 4:07So come with me now as we have a little canter through the
- 4:12great concept of the
- 4:14SPEAKER_00: end-to-end design principle for distributed networks.
- 4:26SPEAKER_01: Listen to them.
- 4:29SPEAKER_01: Children of the night.
- 4:33SPEAKER_00: What music they make.
- 4:35SPEAKER_00: Oh, the classic Bela Lugosi in Dracula from 1931.
- 4:39SPEAKER_00: The bickerings.
- 4:44ancestral home of the Contrarian clan,
- 4:48is a freezing old pile in Squatney green.
- 4:51SPEAKER_00: It is cold enough,
- 4:53SPEAKER_00: but made worse on account of the JC's missus,
- 4:56SPEAKER_00: the Contessa Birgitta von Sachsen-Rammerstein,
- 5:00SPEAKER_00: who controls the central heating with an iron fist.
- 5:04SPEAKER_00: She grew up in a stone castle in the high Transvagresan.
- 5:08SPEAKER_00: Her father was a tyrant.
- 5:11SPEAKER_00: and she has therefore grown accustomed to a chilly ambiance.
- 5:15SPEAKER_00: The family was grand but impecunious,
- 5:18and she habitually regards any attempt to put temperatures into
- 5:22double figures as
- 5:23SPEAKER_00: evidence of immutable moral decay.
- 5:25SPEAKER_00: "'If you are cold,' she is fond of saying, "'you should put on a hit.'
- 5:32SPEAKER_00: I am, by these standards, weak.
- 5:35SPEAKER_00: I'm often tempted into defiance when she's not looking,
- 5:38SPEAKER_00: but until now my meagre resistance has been mainly useless.
- 5:43The Contesa is gimlet-eyed and immeasurably helped by our
- 5:47central heating system,
- 5:48which was designed about the time they built the computers for
- 5:51the Apollo program,
- 5:53SPEAKER_00: and it has similar functionality.
- 5:56SPEAKER_00: While it can,
- 5:57SPEAKER_00: I'm told,
- 5:58SPEAKER_00: schedule and regulate temperatures,
- 6:00SPEAKER_00: this requires an advanced facility with algebra that I,
- 6:03SPEAKER_00: alas,
- 6:04SPEAKER_00: do not have.
- 6:06And nor will the Contesa countenance my occasional suggestions
- 6:10that we upgrade to a
- 6:11SPEAKER_00: modern central heating system with an intuitive user interface.
- 6:16SPEAKER_00: That would involve massive expenditure and,
- 6:18SPEAKER_00: besides,
- 6:20SPEAKER_00: capitulates to my lack of Transylvanian fibre.
- 6:24SPEAKER_00: But recently, things changed.
- 6:27I identified a way of fitting inexpensive replacement valves on
- 6:31our radiators.
- 6:33SPEAKER_00: They are Wi-Fi enabled and fitted with a smart thermostat.
- 6:37They can be programmed and controlled and adjusted from an app
- 6:41on your mobile phone.
- 6:43I used the Miga allowance the Contesa grants me and bought a
- 6:47set of these smart valves.
- 6:50And if there's one useful thing this podcast brings to your
- 6:54life,
- 6:55be it this.
- 6:56As the Northern Hemisphere winter grinds its saturated way to a
- 7:00squelchy close,
- 7:02retailers are presently trying to shift their inventory of
- 7:05smart radiator valves
- 7:07SPEAKER_00: before the spring arrives,
- 7:08SPEAKER_00: the world warms up,
- 7:10SPEAKER_00: and it's too late.
- 7:12SPEAKER_00: Valves are currently on sale.
- 7:15SPEAKER_00: I bought seven, and I got a bargain.
- 7:18SPEAKER_00: I got them for half price.
- 7:20So how is it that suddenly it's easier to upgrade your central
- 7:25heating system?
- 7:27SPEAKER_00: The problem with central heating systems.
- 7:31SPEAKER_00: Until the internet,
- 7:33the problem with upgrading a traditional central heating system
- 7:37was exactly that.
- 7:39SPEAKER_00: It is a centralized system.
- 7:42SPEAKER_00: It has a heavy structure.
- 7:44SPEAKER_00: There's a single central brain,
- 7:47SPEAKER_00: a designed-in nervous system,
- 7:49SPEAKER_00: and it's integrated and not articulated.
- 7:52If you want to upgrade any part,
- 7:54pretty much you need to upgrade the lot,
- 7:57and that's expensive.
- 7:59SPEAKER_00: The central heating system's brain controls two systems,
- 8:03a water system that sends hot water from the boiler out to spur
- 8:07radiators around
- 8:08SPEAKER_00: the house,
- 8:09and an electrical system that measures temperatures around the
- 8:13house with remote
- 8:14SPEAKER_00: thermostats,
- 8:15SPEAKER_00: sends that information back to the brain,
- 8:17which then has a preferred setting from which it controls how
- 8:21much water it should
- 8:22SPEAKER_00: send out to the radiators.
- 8:24SPEAKER_00: If the thermostats say it's too hot,
- 8:28SPEAKER_00: the central system shuts off.
- 8:30SPEAKER_00: If they say it's too cold, then the central system opens up.
- 8:35SPEAKER_00: But there's no great intelligence in the system.
- 8:38It has some kind of time scheduling function and a temperature
- 8:42gauge,
- 8:43and that's about it.
- 8:44SPEAKER_00: More sophisticated systems might divide the house into temperature zones,
- 8:48SPEAKER_00: each controlled by a single thermostat.
- 8:51But again,
- 8:52we're not talking about something that is going to solve
- 8:55eternal verities for you.
- 8:57SPEAKER_00: Beyond that,
- 8:58SPEAKER_00: to micromanage the local environment,
- 9:01SPEAKER_00: a user would have to manually adjust the radiators.
- 9:04Each of the radiators has its own old-fashioned analog
- 9:08thermostatic valve connected
- 9:09SPEAKER_00: to a switch that gates the pipes running into the heater.
- 9:13SPEAKER_00: If it opens up, the water flows in.
- 9:16SPEAKER_00: If it closes, the water stops.
- 9:18But the manual valves on the radiators are not connected to the
- 9:22central brain.
- 9:25SPEAKER_00: If a radiator's local valve is fully off,
- 9:28SPEAKER_00: the radiator will not come on,
- 9:30SPEAKER_00: whatever the central system tells it to do.
- 9:33The electronic thermostats that talk to the central system's
- 9:36brain are overridden
- 9:38SPEAKER_00: by the manual ones that do not.
- 9:41SPEAKER_00: On the other hand,
- 9:42SPEAKER_00: if the central system thinks the zone is too hot,
- 9:45SPEAKER_00: it won't send any hot water to the radiators,
- 9:48SPEAKER_00: so it won't matter how the local radiator valves are set.
- 9:53SPEAKER_00: The system is therefore something like a binary logic gate.
- 9:57SPEAKER_00: A radiator heats only if both the electronic and the manual valves open.
- 10:03It is what lawyers and grammarians would call conjunctive,
- 10:08an and,
- 10:09not an or.
- 10:11SPEAKER_00: And all this takes quite a lot of, well, plumbing and wiring to install.
- 10:17And therefore,
- 10:18there's quite a lot of disruption if you want to replace it.
- 10:22The electronic thermostats are hardware controlled and
- 10:25connected by cable,
- 10:26SPEAKER_00: chased into the walls of the house.
- 10:29SPEAKER_00: God forbid,
- 10:29should I suggest we move the thermostat and upset the Contesa's
- 10:33Farrah and Boar
- 10:35SPEAKER_00: elephant spunk skim coat wall finish.
- 10:39SPEAKER_00: Since our control panels were designed in the late 1960s apparently,
- 10:43SPEAKER_00: they have little of the functionality we're used to these days.
- 10:48SPEAKER_00: They were not designed either to be upgraded, and they are not modular.
- 10:53Their programming is hard-coded into ugly little devices dotted
- 10:57around the house.
- 10:59SPEAKER_00: Not just ugly, but dysfunctional.
- 11:01They hail from a time before user experience was any kind of
- 11:05design criteria.
- 11:07SPEAKER_00: There are four buttons embossed with hieroglyphics I can't understand,
- 11:11and a small liquid crystal display panel that displays
- 11:15different hieroglyphics that
- 11:16SPEAKER_00: I don't understand either.
- 11:18It isn't clear what any of this does,
- 11:21nor how we originally programmed them.
- 11:24SPEAKER_00: That's lost to posterity,
- 11:25and for some years now we've just tolerated the meagre
- 11:28assistance they provide to
- 11:30SPEAKER_00: heat the house in the depths of winter.
- 11:33SPEAKER_00: For the Contesa, of course, this is business as usual.
- 11:36SPEAKER_00: Over the years, I have invested in knitwear.
- 11:40SPEAKER_00: The heating comes on when it deigns to come on,
- 11:43SPEAKER_00: goes off when it deigns to go off,
- 11:45SPEAKER_00: and that is that.
- 11:46The Contessa and I shuffle around our frigid house wrapped up
- 11:50in mittens and scarves.
- 11:53But the problem has now become solvable because of the
- 11:57ingenious design of these
- 11:59SPEAKER_00: new smart radiator valves.
- 12:02They accord with a principle of network design called the
- 12:07end-to-end principle.
- 12:09SPEAKER_00: It is quite an unintuitive principle,
- 12:12SPEAKER_00: but when you get your head around it,
- 12:14SPEAKER_00: absolutely brilliant.
- 12:16The design of the internet is fastidiously based on the
- 12:20end-to-end principle.
- 12:23SPEAKER_00: How to design networks.
- 12:27SPEAKER_00: When creating a network of dispersed users, let's call them endpoints,
- 12:34SPEAKER_00: And if the system is a distributed network,
- 12:38SPEAKER_00: you have some quite significant design choices to make.
- 12:43SPEAKER_00: Different network designs have different pros and cons,
- 12:46SPEAKER_00: and there are different consequences when it comes to scaling them,
- 12:50SPEAKER_00: task managing them,
- 12:51SPEAKER_00: and running information around them.
- 12:54SPEAKER_00: Some of this is mathematical.
- 12:57The first and most obvious way of connecting a distributed
- 13:01network of endpoints is
- 13:03SPEAKER_00: direct point-to-point connections.
- 13:06Here,
- 13:07every endpoint in the network is linked directly to every other
- 13:12network endpoint.
- 13:13SPEAKER_00: But we can see that this rapidly gets complicated.
- 13:17SPEAKER_00: With a two endpoint network, that's two people, there is but one link.
- 13:24Add a third user,
- 13:26a third endpoint,
- 13:27you require two more links,
- 13:30so now three.
- 13:32SPEAKER_00: Adding a fourth user requires three more endpoints.
- 13:38SPEAKER_00: And the problem grows arithmetically as you add new users.
- 13:43Given a total user base of n,
- 13:46the number of new connections you'll need to add a single new
- 13:51user
- 13:52SPEAKER_00: is always n plus 1.
- 13:55SPEAKER_00: The more endpoints you have,
- 13:57SPEAKER_00: therefore,
- 13:57SPEAKER_00: the more users you have,
- 13:59SPEAKER_00: the more links you require to build just to add one more user.
- 14:06SPEAKER_00: Now, I...
- 14:08SPEAKER_00: designed and generated with Python a quite nifty little diagram of this,
- 14:13SPEAKER_00: which is a two-point network becoming a three-point network,
- 14:17SPEAKER_00: becoming a four-point network,
- 14:18SPEAKER_00: and going all the way up to 19 points.
- 14:22And it illustrates exactly how many links you need,
- 14:25the larger the network is.
- 14:27SPEAKER_00: And it sort of goes without saying, but I'll say it anyway.
- 14:32Point-to-point networks like this work as long as it's a very
- 14:36small number of people in them.
- 14:37SPEAKER_00: If you've only got two people in the network,
- 14:39SPEAKER_00: you've got a point-to-point network whether you like it or not.
- 14:43SPEAKER_00: If you've only got three or four,
- 14:44it really doesn't make a great deal of difference if you have
- 14:48everybody connected
- 14:49SPEAKER_00: to everybody else.
- 14:50It's only when you get a genuinely big point-to-point network
- 14:54that it becomes
- 14:55SPEAKER_00: unmanageably large and unfeasible.
- 14:59SPEAKER_00: Now, the application for which you want your network is important.
- 15:04If the network is such that all users will be interacting with
- 15:08all other users all
- 15:10SPEAKER_00: the time,
- 15:12SPEAKER_00: this may be a maximally efficient design.
- 15:16There are few good examples of situations where you might need
- 15:20to do this,
- 15:21but one is a high-performance computing cluster or a GPU
- 15:26cluster used for AI
- 15:28SPEAKER_00: training.
- 15:28SPEAKER_00: In this environment,
- 15:29every node needs to exchange data directly with every other
- 15:33node at maximum speed
- 15:35SPEAKER_00: and minimal latency to facilitate parallel processing.
- 15:39SPEAKER_00: So in that case, you want everything hooked up to everything else.
- 15:43SPEAKER_00: But that is, as I say, a pretty rare use case.
- 15:48SPEAKER_00: And most human networks are not like that.
- 15:52SPEAKER_00: We only have a certain amount of personal bandwidth, after all.
- 15:55SPEAKER_00: You can only read one book at a time,
- 15:58SPEAKER_00: or watch one film at a time,
- 16:00SPEAKER_00: or listen to one podcast at a time.
- 16:02SPEAKER_00: And if you're listening to this, you're listening to me.
- 16:05Our interaction with a given network,
- 16:08therefore,
- 16:08is highly selective and in fact unique.
- 16:12How I experience and interact with London is unique and
- 16:16different from how any
- 16:17SPEAKER_00: other Londoner interacts and experiences London.
- 16:21For example,
- 16:22I go to the cherry tree grocer in Ostfinkelstein for my apples.
- 16:28The Contesa goes to an odd little Russian shop to get the
- 16:31ingredients for her burscht.
- 16:33She doesn't need a link to my green grocer and I don't need a
- 16:37link to her cabbage purveyor.
- 16:39SPEAKER_00: We both have a different need of the network.
- 16:43There is no need to have every single person in the network
- 16:48directly connected with
- 16:49SPEAKER_00: every single other person in the network.
- 16:52SPEAKER_00: That would be rather wasteful.
- 16:55A second way of building a distributed network is by means of a
- 17:00hub and spoke
- 17:01SPEAKER_00: model,
- 17:02SPEAKER_00: where local users are connected to a single large hub,
- 17:07which has a much greater bandwidth connection to other single
- 17:11large hubs to which
- 17:12SPEAKER_00: other local users are connected.
- 17:15SPEAKER_00: And again,
- 17:16I got my LLM model to play around with Python and come up with
- 17:20a natty little
- 17:21SPEAKER_00: explanation or diagram of how this works as well.
- 17:24SPEAKER_00: So it's effectively the same as the point-to-point network,
- 17:29SPEAKER_00: but amongst a very much smaller number of large hubs.
- 17:35And then each of those large hubs has a range of small
- 17:40individual users connecting
- 17:42SPEAKER_00: directly to them as a single connection.
- 17:45So it looks sort of like a pentagon or a hexagon with little
- 17:51flowers arranged
- 17:53SPEAKER_00: around it,
- 17:54SPEAKER_00: as you'll see if you look at the diagram that I came up with.
- 17:58SPEAKER_00: And this is, for example, how railway networks work.
- 18:02SPEAKER_00: There are a small number of nodes,
- 18:04SPEAKER_00: and they are stations,
- 18:06and these have a limited set of very high bandwidth connections
- 18:10to other nodes,
- 18:11SPEAKER_00: other stations,
- 18:12SPEAKER_00: and they're connected by rails and tunnels and things like that.
- 18:16The endpoints of the network,
- 18:17that is the passengers,
- 18:19must make their own way to a node.
- 18:22SPEAKER_00: So there's a single link between the endpoint and a station,
- 18:27whereupon they get on the network and they travel with the
- 18:31large bandwidth between
- 18:33SPEAKER_00: the nodes of the network.
- 18:36SPEAKER_00: Now in this case, adding a new user is much, much easier.
- 18:41It's much lower cost and much lower complexity from the
- 18:45network's perspective.
- 18:47SPEAKER_00: All you need to do is sell them a ticket.
- 18:49SPEAKER_00: So scaling the network carries a predictable low marginal cost.
- 18:56SPEAKER_00: Obviously,
- 18:57building out additional hubs and building the railways and that
- 19:00sort of thing is a
- 19:01SPEAKER_00: much larger expense,
- 19:03SPEAKER_00: but you only have to do it once.
- 19:05And when you do it once,
- 19:06you can suddenly add lots and lots more users with low cost.
- 19:12But hub-and-spoke models still have some odd inefficiencies of
- 19:17their own.
- 19:18SPEAKER_00: For one thing,
- 19:19connection routes on the network may be much longer and more
- 19:23complicated than is
- 19:25needed to cross the physical distance between user endpoints in
- 19:29real space.
- 19:31SPEAKER_00: The London Underground is famous for this sort of thing.
- 19:36Visitors who take the journey from Wood Lane on the Circle Line
- 19:39to White City on
- 19:41SPEAKER_00: the Central Line,
- 19:42which takes about three quarters of an hour via Liverpool
- 19:45Street or over half an
- 19:47SPEAKER_00: hour but with two changes via Notting Hill Gate and Edgware Road,
- 19:51find when they alight at the destination station that it
- 19:55deposits them across the
- 19:57SPEAKER_00: road from where they started.
- 19:59SPEAKER_00: They could have just walked in 30 seconds.
- 20:02SPEAKER_00: Furthermore,
- 20:04SPEAKER_00: knocking out a single hub can break the whole network,
- 20:08at least for anyone who happens to be connected to that hub or
- 20:12who depends on it
- 20:13SPEAKER_00: for a through link to another person connected on another hub.
- 20:18SPEAKER_00: However,
- 20:19SPEAKER_00: the hub and spoke model is,
- 20:21SPEAKER_00: in most cases,
- 20:23SPEAKER_00: much more effective than a direct point-to-point network,
- 20:27SPEAKER_00: at least where the nodes are not very close to each other.
- 20:31Airlines run arrangements like this with regional airports
- 20:34feeding into central hub
- 20:36SPEAKER_00: airports like Heathrow and Chicago O'Hare.
- 20:39SPEAKER_00: and they handle long-haul flights between them.
- 20:42SPEAKER_00: Postal services,
- 20:43SPEAKER_00: too,
- 20:44SPEAKER_00: are hub and spoke models,
- 20:45SPEAKER_00: often with several layers of hubs arranged as spokes around each other.
- 20:51SPEAKER_00: But typical social networks are not like that.
- 20:55In urban communities,
- 20:57a lot of different networks do live on top of each other.
- 21:02SPEAKER_00: Users and endpoints are close to each other.
- 21:05And there are all kinds of random intersections and
- 21:08interconnections between disparate networks.
- 21:11SPEAKER_00: It is all very fluid.
- 21:14SPEAKER_00: There's no central control.
- 21:16SPEAKER_00: Networks arise and die back as individuals need and use them.
- 21:21SPEAKER_00: These networks don't have any intelligence of their own.
- 21:24All the intelligence lives within the heads of the individual
- 21:27members of the communities.
- 21:30SPEAKER_00: The intelligence is at the network endpoints, in other words.
- 21:35SPEAKER_00: This is a really important point, and I'll just stress it now.
- 21:39SPEAKER_00: Where is the complexity and the intelligence in your network?
- 21:43SPEAKER_00: And as we see in social networks, the intelligence is with the people.
- 21:49SPEAKER_00: It's at the edges of the networks.
- 21:51Community members have to figure out which networks to join and
- 21:56what to use them for.
- 21:58SPEAKER_00: But the network itself is a reasonably dumb social arrangement.
- 22:03So neither the point-to-point nor hub-and-spoke networks are
- 22:08efficient for all manner of things.
- 22:11SPEAKER_00: When people are often close to each other,
- 22:13SPEAKER_00: but sometimes distant,
- 22:15SPEAKER_00: and when network needs are constantly in flux,
- 22:20In a dynamic,
- 22:21fluctuating community,
- 22:22users need something that can do a bit of both.
- 22:28SPEAKER_00: The mesh network.
- 22:30SPEAKER_00: There is, as Tony Blair once said, a third way.
- 22:34SPEAKER_00: There are doubtless others too,
- 22:35but I don't think you'd thank me for embarking on a
- 22:38comprehensive survey of all
- 22:40SPEAKER_00: network ontologies.
- 22:42SPEAKER_00: Let me know if you feel differently about that.
- 22:46SPEAKER_00: In this third way,
- 22:48SPEAKER_00: there are a great number of nodes,
- 22:50SPEAKER_00: and most endpoints function themselves as nodes.
- 22:55SPEAKER_00: In fact,
- 22:55the only difference between a true endpoint and a node on the
- 22:59network is that an
- 23:01SPEAKER_00: endpoint only has a single connection.
- 23:05SPEAKER_00: Because there are countless nodes,
- 23:07SPEAKER_00: the nodes are not all interconnected with each other,
- 23:10SPEAKER_00: but instead are connected only to local nearby nodes.
- 23:16SPEAKER_00: Distant nodes are connected through the network,
- 23:20SPEAKER_00: but only indirectly through one or more intermediate nodes.
- 23:26SPEAKER_00: This is quite a lot more random and higgledy-biggledy,
- 23:30SPEAKER_00: and it's difficult to explain in the abstract.
- 23:34But just imagine small communities of people just interlinked
- 23:38to other small
- 23:39SPEAKER_00: communities,
- 23:40and then each of those other people linked to their own little
- 23:44small communities,
- 23:45and they're overlapping and intersecting and coming and going
- 23:50with lots of tiny
- 23:52SPEAKER_00: little transient...
- 23:54connections between people that sort of wink in and out of
- 23:57existence as they go along.
- 24:00SPEAKER_00: If in imagining this,
- 24:02SPEAKER_00: you think of something like an internet network,
- 24:05you'll be bang on point because that's exactly how an internet
- 24:09network works.
- 24:11There are very few cases where two people on the network
- 24:15communicate directly with each other.
- 24:17Generally speaking,
- 24:18their communications will go through a host of intermediate
- 24:23nodes.
- 24:24SPEAKER_00: And here is the thing.
- 24:25There are any number of indirect connection paths between any
- 24:30two nodes on a network like this.
- 24:33SPEAKER_00: Indeed,
- 24:34SPEAKER_00: the more nodes there are in the network and in an internet network,
- 24:39SPEAKER_00: there are literally millions or even billions of them.
- 24:43The more nodes there are,
- 24:45the more possible connection paths there are between them.
- 24:50This solves all three of the problems identified above and
- 24:55quite quickly.
- 24:56Firstly,
- 24:57it is easy and cheap to add new nodes and endpoints to the
- 25:03network.
- 25:04SPEAKER_00: Each needs only a very small number of connections.
- 25:07SPEAKER_00: At the limit, one.
- 25:10So the arithmetic increase in cost to connect an additional
- 25:14user problem of the
- 25:15SPEAKER_00: direct point-to-point networks does not exist.
- 25:19SPEAKER_00: The network is therefore easy to scale.
- 25:22SPEAKER_00: The marginal cost of adding users is static.
- 25:25And importantly,
- 25:27it's borne entirely by the connecting user,
- 25:31not the rest of the network.
- 25:33SPEAKER_00: If a user wants to be on the network,
- 25:35SPEAKER_00: a user brings its own equipment and pays the cost of connecting.
- 25:40SPEAKER_00: Secondly,
- 25:41a mesh network solves the single point of failure problem that
- 25:46a hub and spoke
- 25:47SPEAKER_00: model presents.
- 25:49SPEAKER_00: As a mesh network scales,
- 25:51what does increase geometrically is the number of potential
- 25:55connections between any
- 25:57SPEAKER_00: two points,
- 25:58the number of ways of getting from point A to point B through
- 26:03intermediate nodes.
- 26:05SPEAKER_00: The bigger the network, therefore, the more nodes it has,
- 26:09SPEAKER_00: and mesh networks tend to have a lot of nodes,
- 26:12SPEAKER_00: the more robust it is,
- 26:15SPEAKER_00: the more resilient it is to failure.
- 26:18This means that there are no single or even significant points
- 26:22of failure on a mesh network.
- 26:24SPEAKER_00: If you knock out a node,
- 26:26it only impacts that node and any endpoints connected only
- 26:32singly to that node.
- 26:34This is indeed the fundamental problem that the US Department
- 26:38of Defense was trying
- 26:40to solve when it formulated the principles for the ARPANET on
- 26:45which the modern
- 26:46SPEAKER_00: internet was founded.
- 26:48SPEAKER_00: ARPA stands for Advanced Research Projects Agency.
- 26:53SPEAKER_00: and the ARPANET was designed in the 1960s.
- 26:57Its goal was to create a computer network that could sustain
- 27:02operation even during
- 27:03SPEAKER_00: its own partial destruction,
- 27:06SPEAKER_00: such as by a nuclear strike.
- 27:09SPEAKER_00: It's true, folks, the internet is a product of Cold War paranoia.
- 27:17SPEAKER_00: A meshed network is largely immune, therefore, to targeted attack.
- 27:21SPEAKER_00: If you want to knock out the network,
- 27:23SPEAKER_00: you have to take out all of its nodes,
- 27:26SPEAKER_00: and it has millions.
- 27:28The more nodes the network has,
- 27:30the harder it is for a single impulse to destroy it.
- 27:34SPEAKER_00: There's a parallel here, by the way, with blockchain.
- 27:39And the security inherent in a blockchain is designed on the
- 27:42same principle.
- 27:43SPEAKER_00: As transactions on a blockchain are written to every node on the chain,
- 27:49SPEAKER_00: to hack a transaction,
- 27:50SPEAKER_00: one has to hack every machine on it.
- 27:54SPEAKER_00: This is a formidable obstacle to mendacious people.
- 27:59Thirdly,
- 28:00it solves the hub-and-spoke model's stupid way of crossing the
- 28:04road problem too.
- 28:06SPEAKER_00: Since all nodes are connected directly to other local nodes,
- 28:10SPEAKER_00: and therefore will always be connected to those closest to it,
- 28:15there will never be a need to go from Wood Lane to White City
- 28:19via Liverpool Street.
- 28:22SPEAKER_00: problems with mesh networks.
- 28:25Of course,
- 28:26nothing's perfect and mesh networks have their disadvantages
- 28:30too.
- 28:31For one thing,
- 28:32the route any signal takes across the network is likely to be
- 28:36circuitous.
- 28:38SPEAKER_00: That is a problem if what you are sending is somehow secret.
- 28:43SPEAKER_00: Everyone in the communication chain will get to see it.
- 28:47It's also a problem if you're a control freak or for some
- 28:50reason you need a predictable route.
- 28:52SPEAKER_00: A mesh network is all very seat of the pants.
- 28:56SPEAKER_00: Make it up as you go along.
- 28:58SPEAKER_00: And ad hoc.
- 29:03SPEAKER_00: And should there be a time or cost implication of sending a message,
- 29:08SPEAKER_00: then mesh networks can be quite inefficient.
- 29:11The larger one gets,
- 29:13the more expensive and slow sending content-rich message
- 29:18becomes.
- 29:20SPEAKER_00: But there's been an information revolution in the last 40 years.
- 29:26SPEAKER_00: Electronic signals move down a wire at the speed of light.
- 29:31SPEAKER_00: Speed is not the constraint it once was.
- 29:35SPEAKER_00: But the resource impact of sending a message across a node,
- 29:39SPEAKER_00: not the speed of the communication,
- 29:41SPEAKER_00: but the volume and format of the information sent,
- 29:45SPEAKER_00: presents another problem.
- 29:48SPEAKER_00: And here we need to discuss the variety of human communications.
- 29:54For there is a downside to there being an almost infinite
- 29:59number of pathways across a network.
- 30:02SPEAKER_00: It means that to route a given message across the network,
- 30:08SPEAKER_00: every one of those pathways needs to be able to handle the message.
- 30:13So let me give an example,
- 30:15sort of an imaginative physical example from the real world.
- 30:20Let's say you built a physical mesh network that employed those
- 30:24cute little Citroen
- 30:26Amys cars to shuttle messages around between individual loading
- 30:32bay nodes on the
- 30:33SPEAKER_00: network.
- 30:34SPEAKER_00: So each car just goes back and forward between two...
- 30:38SPEAKER_00: nodes sending messages on.
- 30:41And so there's millions and millions of these tiny little cars
- 30:43just taking these messages.
- 30:45The vehicles drive themselves and they use an algorithm to
- 30:48determine which of the
- 30:49SPEAKER_00: nodes should take a message on the network at any time.
- 30:55SPEAKER_00: Now,
- 30:55as long as you are transporting small people and the odd parcel
- 30:59and letters and
- 31:00SPEAKER_00: things like that,
- 31:01SPEAKER_00: this will all work serviceably well.
- 31:03SPEAKER_00: If this is really how you want to do it, fine, knock yourselves out.
- 31:07SPEAKER_00: But if you want to transfer, for example, a live dolphin...
- 31:19SPEAKER_00: the network suddenly can't manage.
- 31:21SPEAKER_00: None of the cars can handle a live dolphin.
- 31:26You'd need to re-engineer the whole network and every point on
- 31:30it to cope with a
- 31:33SPEAKER_00: sudden demand for posting live dolphins around the network.
- 31:38So there's always a design decision to be made when starting a
- 31:42physical network.
- 31:44What is the universe of items that you expect to be transported
- 31:48across it?
- 31:50Once you have built out your network and you have millions and
- 31:53millions of nodes,
- 31:55SPEAKER_00: if you find out that,
- 31:56SPEAKER_00: oh,
- 31:57you forgot the use case of transporting live dolphins and they
- 32:01just don't fit
- 32:03SPEAKER_00: inside citrone amis,
- 32:06SPEAKER_00: You're stuck.
- 32:06SPEAKER_00: There's nothing you can really do.
- 32:08SPEAKER_00: You just have to start again.
- 32:11Unless you can figure out some clever way of working around the
- 32:16chunkiness implicit
- 32:18SPEAKER_00: in a live dolphin,
- 32:20SPEAKER_00: for example.
- 32:22SPEAKER_00: So whatever you do,
- 32:23SPEAKER_00: and whatever your network topology,
- 32:27SPEAKER_00: there is always a design decision of some sort to be made.
- 32:31What is the universe of items that can conceivably be
- 32:35transferred across your network?
- 32:39SPEAKER_00: This, in a physical network, is an optimizing function.
- 32:43SPEAKER_00: It's rather like the one we take when buying a car.
- 32:47I know that most of my car journeys will be short and will
- 32:51involve just one
- 32:52SPEAKER_00: occupant,
- 32:52SPEAKER_00: me,
- 32:53SPEAKER_00: with very little luggage.
- 32:55SPEAKER_00: For these, a cute little Citroen Ami would be perfect.
- 33:01Better than anything else,
- 33:02in fact,
- 33:03just as long as our friends don't see us.
- 33:06You don't need a Land Rover with a snorkel to get around the
- 33:09Hampstead Garden suburb.
- 33:12But there will be times where we need to collect the kids from
- 33:17karate practice,
- 33:18SPEAKER_00: take old furniture to the dump,
- 33:21SPEAKER_00: or go off-roading in Wales.
- 33:23SPEAKER_00: It is salty.
- 33:24SPEAKER_00: It's gripped.
- 33:24SPEAKER_00: Let's off-road.
- 33:25SPEAKER_00: And it's worth solving for these contingencies.
- 33:30SPEAKER_00: But every now and then,
- 33:31it might also be useful to have a minibus or a tractor or a
- 33:37combine harvester.
- 33:38SPEAKER_00: But it is not worth optimising for these extremes.
- 33:42In these cases,
- 33:43we just hire the equipment we need or the man with the van as
- 33:48we need it.
- 33:49SPEAKER_00: The network, as a physical network, always has its limits.
- 33:55So designers of physical networks,
- 33:58even mesh networks,
- 34:00must do the same optimizing exercise.
- 34:04SPEAKER_00: They will optimize for known use cases,
- 34:08but they cannot be expected to predict future use cases that
- 34:12might come along as
- 34:13SPEAKER_00: technology develops.
- 34:15SPEAKER_00: This is a shortcoming of all models of physical network design.
- 34:20SPEAKER_00: If you build tunnels that are only 10 meters wide,
- 34:23that forever precludes you from putting 11 meter wide vehicles
- 34:28on your railway.
- 34:30SPEAKER_00: So along with a rail network,
- 34:32SPEAKER_00: hub and spoke,
- 34:33SPEAKER_00: there is a road network,
- 34:35SPEAKER_00: which is much more like a mesh.
- 34:38SPEAKER_00: The railway is very good at certain transport functions,
- 34:41SPEAKER_00: Passenger commuting or hauling coal around.
- 34:45But it's not so good for nipping up to the high street to
- 34:48collect your dry cleaning
- 34:50SPEAKER_00: or the missus' ingredients for borscht.
- 34:52SPEAKER_00: Listen to them.
- 34:55SPEAKER_00: Children of the night.
- 34:58SPEAKER_00: What music they make.
- 35:01Because the link count in our mesh network is so large and the
- 35:05links are so
- 35:06SPEAKER_00: chaotic,
- 35:07capacity constraints are a particular limitation and it leads
- 35:12to a different
- 35:13SPEAKER_00: arrangement of structure and intelligence on the network.
- 35:19SPEAKER_00: For a hub and spoke network like a railway,
- 35:21there's a huge advantage to heavily engineering and controlling
- 35:26the central parts.
- 35:28And it doesn't matter if some things can't go on the railway
- 35:31because there are
- 35:32SPEAKER_00: always other networks,
- 35:34SPEAKER_00: the road,
- 35:34SPEAKER_00: sea and air,
- 35:36SPEAKER_00: that can accommodate them.
- 35:37SPEAKER_00: So railways,
- 35:38SPEAKER_00: and they're designed on rolling stock,
- 35:41are heavily engineered to work together and closely controlled
- 35:45by a central
- 35:46SPEAKER_00: intelligent network.
- 35:48SPEAKER_00: monitoring system.
- 35:50SPEAKER_00: But central control of a system and a network has its drawbacks.
- 35:55SPEAKER_00: It is a single point of failure.
- 35:58Any London commuter will know that central signalling failures
- 36:02can lead to
- 36:03SPEAKER_00: widespread disruption.
- 36:05End users can't work around it unless they get off the network
- 36:09and use the roads.
- 36:11SPEAKER_00: being a different kind of engineering proposition.
- 36:14And those,
- 36:14of course,
- 36:15will be jammed because everyone else will be doing the same
- 36:18thing.
- 36:19SPEAKER_00: The engineering of roads,
- 36:20SPEAKER_00: nonetheless,
- 36:21SPEAKER_00: is minimal and is less susceptible to single points of failure.
- 36:26And while in urban settings road networks are centrally
- 36:30controlled,
- 36:31it is much more lightly.
- 36:33If all the traffic signals go down in your neighborhood,
- 36:36the network will still function.
- 36:38Drivers will just have to be a little bit more careful
- 36:41navigating normally controlled junctions.
- 36:45SPEAKER_00: There's some evidence,
- 36:46SPEAKER_00: by the way,
- 36:47SPEAKER_00: that when traffic signals are taken away,
- 36:49SPEAKER_00: in fact,
- 36:50traffic moves more smoothly and more carefully precisely
- 36:53because drivers are
- 36:55SPEAKER_00: responsible for what they do.
- 36:56SPEAKER_00: But that's a conversation for another day.
- 37:00SPEAKER_00: In any case, we see here two design principles for a network.
- 37:05SPEAKER_00: Engineering and intelligence in the middle,
- 37:08or engineering and intelligence at the edges with the people
- 37:14using the network.
- 37:15A railway is heavily engineered,
- 37:17centrally controlled,
- 37:18and an intelligent network.
- 37:20SPEAKER_00: It makes all the decisions.
- 37:22SPEAKER_00: Users just hop on and ride.
- 37:25SPEAKER_00: You don't need any particular kit to ride a train other than a ticket.
- 37:29SPEAKER_00: You just sit there.
- 37:31SPEAKER_00: You just have to remember when to get on and when to get off.
- 37:35A road,
- 37:36by contrast,
- 37:36is a simple,
- 37:38mainly dumb network with little central intelligence.
- 37:42SPEAKER_00: All the complication,
- 37:43SPEAKER_00: design,
- 37:44and intelligence in the road system is at the edges of the road
- 37:49network with the
- 37:51SPEAKER_00: users.
- 37:52Users must bring their own vehicles and they must know how to
- 37:55operate them.
- 37:56They have to figure out where to go,
- 37:58by which route,
- 38:00and how to use the windscreen wipers.
- 38:02SPEAKER_00: The road network itself is passive to all of this.
- 38:06SPEAKER_00: It just sits there.
- 38:07SPEAKER_00: You have to worry about where you're going.
- 38:10SPEAKER_00: The road, to coin a phrase, doesn't care.
- 38:15SPEAKER_00: the internet as a dumb network.
- 38:18SPEAKER_00: So there are smart networks and there are dumb networks.
- 38:22SPEAKER_00: What about the internet?
- 38:24SPEAKER_00: Now,
- 38:24SPEAKER_00: you could be forgiven for presuming that the World Wide Web,
- 38:28SPEAKER_00: surely the most sophisticated distributed network in the known universe,
- 38:33SPEAKER_00: is a highly intelligent network.
- 38:36SPEAKER_00: But in fact, it's not.
- 38:38SPEAKER_00: The Internet's a supremely dumb network.
- 38:42SPEAKER_00: And that indeed is its very brilliance.
- 38:45SPEAKER_00: The World Wide Web could hardly be stupider.
- 38:48SPEAKER_00: All the brilliance is at the edges with the users.
- 38:53SPEAKER_00: This is partly a function of the internet's genealogy.
- 38:57They built the digital World Wide Web on a network that was
- 39:00already there,
- 39:02SPEAKER_00: that was designed with a completely different use in mind.
- 39:07SPEAKER_00: Analog telephone signals.
- 39:10SPEAKER_00: Now,
- 39:11SPEAKER_00: a traditional telephone mouthpiece,
- 39:13SPEAKER_00: you might not know this,
- 39:14SPEAKER_00: worked by converting sound waves into an analogue electrical signal.
- 39:20A continuously varying voltage describing those sound waves
- 39:24that travelled down the
- 39:26SPEAKER_00: wire to the exchange,
- 39:27SPEAKER_00: passed through a series of switches,
- 39:29SPEAKER_00: and down another wire to the caller at the other end,
- 39:32SPEAKER_00: where the receiver's earpiece...
- 39:35SPEAKER_00: did the reverse job,
- 39:36converting that analog signal back into sound waves and beaming
- 39:40them at the user's
- 39:41SPEAKER_00: ear.
- 39:43SPEAKER_00: This microphone that I'm using at the moment is somewhat similar.
- 39:47SPEAKER_00: It converts things on an analog basis,
- 39:50sends them down a pipe to this little red box in front of me
- 39:53that's called a
- 39:54SPEAKER_00: Focusrite Scarlett.
- 39:59And that is called a digital audio converter that takes the
- 40:02analog signal and
- 40:03SPEAKER_00: converts it into ones and zeros and runs it into the rest of the machine,
- 40:08which does this wonderful job of recreating my horrible nasal
- 40:13Kiwi drawl for you
- 40:14SPEAKER_00: all.
- 40:15SPEAKER_00: But anyway, the analog telephone system operated as a continuous pipe.
- 40:21SPEAKER_00: When you opened up a phone call to a user,
- 40:23SPEAKER_00: a subscriber toll dialing it was called,
- 40:26the exchange would physically dedicate a continuous electrical
- 40:30circuit between
- 40:32SPEAKER_00: callers for the duration of the call.
- 40:34SPEAKER_00: It was like a private,
- 40:36SPEAKER_00: dedicated tunnel,
- 40:38SPEAKER_00: but rather than being 10 meters wide,
- 40:40SPEAKER_00: it was one copper strand wide.
- 40:43It persisted whether anyone was in fact speaking on the line
- 40:47during the entire
- 40:48SPEAKER_00: duration of the call.
- 40:50So as a piece of data engineering,
- 40:54a telephone line was incredibly inefficient.
- 40:57SPEAKER_00: The internet wanted to send binary digits,
- 41:00SPEAKER_00: lots of ones and zeros,
- 41:02SPEAKER_00: as I've just mentioned,
- 41:03SPEAKER_00: down the pipe.
- 41:05SPEAKER_00: As long as it was an analogue,
- 41:07SPEAKER_00: This involved the internet routers doing something really rather stupid,
- 41:12which was to take their ones and zeros and convert them into an
- 41:16analog sound that
- 41:18SPEAKER_00: would be sent down the pipe.
- 41:20SPEAKER_00: If you've ever heard the sound of a modem,
- 41:23and youngsters may only have done that if they were watching
- 41:26old movies like The
- 41:28SPEAKER_00: Matrix,
- 41:29SPEAKER_00: you will know exactly what I mean.
- 41:43and there for cheapskates i'm afraid we're going to leave it
- 41:48the premium version of
- 41:50the podcast rambles on for another 20 minutes doing all the
- 41:54really interesting
- 41:55stuff making lots of fun of sight gags and sound gags about
- 42:00things but i'm going to
- 42:01stop that one here and roll the credits for you so do let me
- 42:06know if you enjoyed it
- 42:07we will speak on the other side have a nice weekend or whatever
- 42:11you may be doing
- 42:13SPEAKER_00: Cheerio.