Time is Honey

13 Feb 2026 · 39 min · 14 chapters

Ask about this episode

Ask anything about it. ChatGPT or Claude reads this page and answers with the times it was said.

Connect VO and ask about every podcast you hear, including the moments you saved. Add to ChatGPT · Add to Claude

In short

Radiolab Episode Notes: Time is Honey

Overview In this episode of Radiolab titled "Time is Honey," hosted by Lulu Miller and Latif Nasser, the narrative explores the innovative intersection of nature and technology through the lens of the Honeybee Algorithm. The story centers around Sunil Nakrani who, in the early 2000s, sought to address the frequent crashes of the internet and found inspiration from honeybees.

Key Themes

  • Internet Crashes: The episode opens with Sunil Nakrani's frustration over the unreliability of internet access during high traffic events.
  • Inspiration from Nature: The solution to internet inefficiencies is found in the behavior of honeybees and their collaborative decision-making processes.
  • Honeybee Algorithm: The principles derived from honeybee behavior are applied to optimize server management on the internet.

Episode Breakdown

Introduction to Sunil Nakrani

  • Background:
  • Grew up in Kenya, India, and the UK.
  • Studied electrical engineering and pursued a PhD at Oxford.
  • Initial Encounter with Internet Crashes:
  • Inspired by the chaos caused during the internet traffic peaks, particularly around significant events (e.g., 9/11).
  • Became obsessed with understanding and fixing these issues.

Seeking Help

  • Reached out to professors, particularly Craig Tovey, who introduced him to the idea that honeybees could provide insights into solving complex problems like internet traffic management.

Honeybee Behavior Explained

  • Honeybee Intelligence:
  • Honeybees operate through collective intelligence and do not have a single leader (the queen bee's role is reproduction).
  • They communicate and make efficient foraging decisions through a "waggle dance," signaling to others the location of flower patches.
  • Efficiency of Foraging:
  • Bees can optimize their search for food, adjusting their efforts based on the density and availability of flowers.
  • This behavior exemplifies an efficient allocation of resources, akin to managing server load on the internet.

The Honeybee Algorithm

  • Craig Tovey and Tom Seeley's Research:
  • Craig’s early work in robotics inspired him to study how honeybees work together to solve problems.
  • Dr. Tom Seeley, an expert on honeybee behavior, collaborated with Craig to conduct experiments that illustrated bee decision-making processes.
  • Algorithm Development:
  • The honeybee algorithm was formulated to model how bees efficiently allocate foragers based on real-time conditions (i.e., nectar availability and distance).
  • It demonstrated that bees function well in uncertain environments, which is reflective of internet traffic dynamics.

Application to the Internet

  • Mapping Bee Behavior to Server Management:
  • Sunil and Craig adapted the honeybee algorithm to improve server allocation during peak internet usage, effectively reducing crashes.
  • The algorithm allows less busy servers to assist overloaded servers, thus optimizing the distribution of traffic.

Results and Implications

  • Performance Comparison:
  • The honeybee algorithm was found to perform within 15-20% of an ideal scenario (omniscient algorithm), outperforming traditional server management methods.
  • Real-world Impact:
  • The algorithm has been implemented across various industries beyond internet traffic, including finance, automotive design, and healthcare.

Conclusion

  • The episode highlights the profound impact of nature-inspired solutions on technological challenges.
  • The honeybee algorithm exemplifies how observing and understanding natural processes can lead to significant advancements in human systems.

Key Takeaways

  • Nature as a Guide: The episode encapsulates the idea that nature has evolved efficient systems that can teach us to solve complex human-made problems.
  • Interdisciplinary Learning: It emphasizes the power of collaboration across fields (biology and engineering) to innovate solutions.
  • Collective Intelligence: The honeybee's approach to resource allocation showcases the potential of decentralized decision-making.

Credits

  • Reported by: Latif Nasser
  • Production: Maria Paz Gutiérrez, Annie McEwen, Pat Walters
  • Special Thanks: John Bartholdi, John Vande Vate, Sammy Ramsey, and others involved with the Golden Goose Awards.

Further Reading

  • The episode references several books by Dr. Tom Seeley on honeybee behavior for deeper insights:
  • *The Wisdom of the Hive: The Social Physiology of Honeybee Colonies*
  • *Piping Hot Bees & Boisterous Buzz-Runners: 20 Mysteries of Honey Bee Behavior Solved*

Conclusion The episode "Time is Honey" presents a captivating exploration of how insights from the natural world can inform and optimize our technology, illustrating the interconnectedness of life and innovation.

Written by AI. May contain mistakes. Listen to the episode to check what was said.

Chapters

Tap a time to open that second in VO

Sunil Nakrani's Background

0:30 to 2:15

Sunil shares his background, education, and the start of his career at IBM.

“Or how did that, how did this all start?”

The 9/11 Experience

2:15 to 4:36

Sunil recounts his experience during the 9/11 attacks and the internet's unresponsiveness.

“Because there was just so many people trying to get access.”

The Internet's Flash Flood Problem

4:36 to 6:38

Discussion on the internet crashes during high-demand situations and the need for better infrastructure.

“He didn't say a lot, actually, at the beginning.”

Reaching Out to Georgia Tech

6:38 to 8:29

Sunil's journey of seeking help from Georgia Tech to solve internet issues.

“Um, are they, they're not, aren't they just, like, flying?”

Meeting Craig Tovey

8:29 to 10:44

Sunil meets Craig Tovey and discusses the internet issue with him.

“And they have, like, nobody, they have no boss.”

Lessons from Honeybees

10:44 to 12:28

Craig introduces the connection between honeybees and internet efficiency.

“In fact, this is one of the best weeks of my life.”

Tom Seeley's Research

12:28 to 14:00

Introduction to Dr. Tom Seeley and his pioneering study of honeybee behavior.

“Until they're painted, they're anonymous members of a colony.”

Bee Behavior and Foraging Efficiency

14:02 to 20:40

Explore how honeybees optimize foraging based on distance and floral depletion.

“Wait, and then how do they make one fake flower patch better than the other?”

The Internet and Bee Algorithms

20:54 to 28:00

Learn how the efficiency of bees inspired solutions for internet traffic management.

“I'm kind of surprised you don't remember it.”

The Surge of Internet Traffic

28:00 to 28:49

Discover how internet algorithms adapt to sudden spikes in demand.

“And so servers buzz over to the Charlie Bit Me video and start servicing all of these flowers, right?”
Show all 14 chapters

Comparing Algorithms: Bees vs. Humans

28:50 to 30:44

Learn about a comparison between bee algorithms and human server allocation.

“So like you, all these flowers opening up all over the world.”

The Power of the Bee Algorithm

30:45 to 31:36

Uncover the surprising efficiency of the bee algorithm in server management.

“I presented the results to the committee.”

Insights from Nature: The Bee Approach

31:37 to 33:39

Explore how the bee algorithm offers unique insights into decision-making.

“Which means we have the bees to thank for the Internet being this place where...”

Living in the Present: Lessons from Bees

33:40 to 34:23

Discuss the benefits of focusing on the present rather than fretting about the future.

“It's like it's kind of at this very subtle like it's like right at the line between responding to the clues of the moment and predicting the future.”
Hear the part that matters, and keep it.Open this episode in VO. Double tap your headphones to save a moment as you listen.
Get VO free

Transcript

Automatic transcript. May contain errors.

0:28Wait, you're listening. guy named Sunil Nakrani. Yeah, hi, I'm Sunil Nakrani. Where did you grow up? And were you just a computer kid? Like you just love computers? Or how did that, how did this all start? So you want to start from there? Yeah, I mean, a little bit. Yeah, so I was actually born in Kenya. But he grew up between India and the UK. Right. He studies hard. Bachelor's and a master's degree in electrical engineering. And in 1989, he lands a job at IBM. just as the world is encountering this new thing called the internet. Welcome. And what about this internet thing? Do you know anything about that?

1:02There's loads of useful information in here. You can get news, recipes. So, Daniil is like, Okay, why not go and study communication engineering? He goes to Oxford to get his PhD, and one day, near the beginning of the semester, while he is on one of the desktop computers in the computer lab, his whole department, including him, gets an email from one of his professors, who's an American guy. And the email just says, Hey guys, America is under attack. Come down to the common room and then watch, right? It came out of the clear blue sky on a mild fall morning in Manhattan. Oh, it's 2001. Yes, 2001.

1:38Sunil's standing there in horror.

1:43And I mean, he has a million questions. Like, who did this? Why? Is America at war? So he goes online. to get any sort of new information. But he just can't. A lot of the websites were just not responding. Some websites had just crashed. Others would, like, just keep loading, but then never fully load. There's one point there, you know, there was such overwhelming demand for, you know, news that they resorted to serving only text. Plain text. Because there were so many people trying to get to those websites. Because there was just so many people trying to get access. So much hunger of people trying to figure out, like, what the hell is going on here?

2:21Correct. And he's like, why is it that at the very moment when I in the world want to access something the most, that's when I can't access it? And this used to happen all the time. As millions of people flooded the system. Last week, a picture of a dress was posted on Tumblr. Some website. Healthcare.gov. Or picture. That broke the internet. Or video. Would suddenly become popular. In just 15 minutes, a Pokemon Go launch. And you get this crash of people. The traffic had already passed a little prediction. This flash flood. And it breaks the internet. And this situation. A demand that is beyond what they planned for.

3:00Sunil became kind of obsessed with it. And so I ended up looking at websites, how they architect some of these infrastructures. And he's like, there's got to be a way to fix this. Yeah. Like, what can I apply to solve that problem? Meanwhile, Sunil's wife is working in Atlanta. We were doing back and forth between Oxford and Atlanta. And at a certain point, he's having kind of a hard time with this internet problem. Because how do you design a system for the future when you don't know what the future is? And one day he just thinks to himself, Georgia Tech is down the street. Maybe someone there could help me.

3:31Point me to some direction that I could take. So he just emailed some people in the engineering school. I said, oh, I'm a PhD student looking to, you know, discuss some ideas. Can I come and see you? And that was basically it. I didn't describe the problem in my email. I didn't really expect anything substantial. But within 30 minutes, he gets a response from a guy named Craig Tovey. Saying, come by my office. And then a very tall guy knocks on my door and says, oh, I'm looking for Craig. This, of course, is Craig Tovey. Hi. Good to meet you. Craig's a systems engineer. Operations research. His job is to make huge operations run smoothly.

4:19Factories, shipping routes, that kind of thing. So anyway, I walked into his office. We sat down. We started talking. I started describing the problem. So Sunil is like, look, I'm trying to fix the internet. I'm trying to stop it from breaking every time one of these internet flash floods happen. He didn't say a lot, actually, at the beginning. He just kept listening. And then 25, 30 minutes later, you know, suddenly Craig Tovey said, Oh, oh, oh, wait. Craig stands up. And then went back to his desk and pulled out a paper. And he plops it down in front of Sunil. It is called The Pattern and Effectiveness of Forager Allocation Among Flower Patches by Honeybee Colonies.

4:59So at the time, I thought, why are we talking about honeybees? Yeah, why are we talking about honeybees? Well, Craig had this hunch that bees had something to teach Sunil, and all of us, really. because it turns out bees are sort of a model of how to thrive in an uncertain world. Hmm. Okay. So that's the story I want to talk about today. The story of how a multi-billion dollar tech industry used a trick they learned for millions of years of honeybee evolution to build the internet as we know it. Okay. Giddy up. Okay, so Craig and his bee study, it really began with his collaborator. I'd like you to refer to me as Tom.

5:47Dr. Tom Seeley. You could introduce me as doctor or professor, but let's quickly switch to Tom. He's a retired professor of neurobiology at Cornell and one of the world's top experts on honeybees. I did pretty much pioneer the study of how honeybees live in the wild on their own. And he started doing that work more than 60 years ago, when he was a kid. Yep. A swarm of bees moved into a large black walnut not far from my parents' house. And Tom says he would watch those bees flying in and out of this knot hole in the tree. Like shooting stars. Zooming off in all directions. And he'd see them and he'd be like, where are they?

6:26Where are they going? Like he kind of knew where they were going. There were fields of a dairy farm up on the hillside. With lots of flowers full of nectar and pollen for them to eat. They're probably going up to that. Like, I know where they're going, but how do they know where they're going? Like, what is going on here? Um, are they, they're not, aren't they just, like, flying? And if they see some pollen or nectar, they bring it home? No, no, it's way, way harder and more complicated than that. Why? How so? There's many different reasons, and this is all stuff Tom would eventually learn in college and grad school.

7:05Okay, so like first, flower patches are not evenly or clearly distributed. They're not just everywhere. Okay, fair. They're also not all blooming at the same time. Okay. So there might be flowers that are blooming at certain times of the year or even certain times of the day. Also, you need to find the flowers in bloom that still have nectar because you're in competition with all these other pollinators. Right. And you have to do all your food gathering before winter comes because, you know, then all the flowers go away. And you have to get something like for guess how many flowers if you're a bee, guess how many flowers you have to hit to get like a little bottle of honey that you would find in a grocery store.

7:49Oh, oh, OK. Like one of those bare little squeezy. Yeah, one of those little bare squeezy bottles. How many flowers went into that? That's such a nice question. I don't know, like 10 ,000? Two million. Two million? Two million. And the hive needs like the equivalent of 200 squeezy bottles of honey to survive through the winter. Wow. All of this is an efficiency game. Like you only have so much time when the sun is shining, when these flowers are blooming, that you can hit them. Okay. Okay, so they have to do all of this. It's really hard. And they have, like, nobody, they have no boss. Nobody is in charge.

8:36Queen Bee isn't in charge? So that's the thing. So back in Aristotle's time, that was the idea. For many, you know, centuries, people thought the queen was a ruler. But no, that's not correct. The queen's whole job is to make babies. Yeah. She's not telling anybody else what to do. Nobody is. The colony is intelligent in some way that the individual bees are not. And when Craig found out about this. It started with NPR. From a radio story. Tom Seeley talking about honeybees. He was just like, what? I was just in awe. Because at the time, Craig was working on robots. He was trying to get a group of them to build a car.

9:16It was an unsolved problem. And he was kind of stumped. I have no idea how to get these robots to work together to be, as a group, like more intelligent than the individual stupid robots. But here were these honeybees. Doing exactly that. And I'm thinking, wow, let's understand how the bees are doing that. Now we can copy that and apply it to robots. And Craig thought this would be pretty straightforward. I thought that biologists had figured out everything. But turns out they hadn't. That's right. If somebody asked me how much we know about how a honeybee colony works, I'd say 50%. And, you know, 50 % is not nothing.

9:58They knew, for example, about the waggle dance, which you might have heard of. Yes, I've heard that bees will waggle. And what is the waggle, though? I mean, it's quite sophisticated. It's a dance that bees do to sort of show other bees where they just came from. Oh, so it's like a choreographed map. It's like a map dance. It's like a map dance. And this is like a piece of the puzzle. Oh, yeah. Von Frisch won the Nobel Prize. But what the biologists had not figured out... Is the bigger picture. What Tom would call... The wisdom of the hive. And that is what Tom was working on when Craig called it.

10:37And Tom said, well, you know, come help me run these experiments. And the two of them would end up doing an experiment together that would give us a little peek into that wisdom of the hive and would eventually become the paper that many years later Craig would slap down in front of Sunil in his office. It's still vivid in my memory. In fact, this is one of the best weeks of my life. It's July 1991. OK, now this is in the Adirondacks, upstate New York. Like way upstate. Close to the Canadian border. Craig had to drive on these dark back roads. For an hour and a half, two hours. Looking for a little sign for this research station.

11:18Cranberry Biological Station. Cranberry Biological Station. Cranberry Lake. I'm sorry. Cranberry Lake. Cranberry Lake. Yeah. I'm always amazed that he pulled it off, that he found this biological station up in the middle of the woods, deep at night. And the reason Tom studies bees at this place, way out in the middle of nowhere, is because... there are no naturally occurring honeybee colonies. What? Wait, why would you study bees in a place where there are no bees? Right, because the absence of bees lets you set up kind of controlled experiments without any other bees messing it up. That's right.

11:56It's a BYOB, bring your own bees, set up. So Tom brought an experiment, you know, a little colony of about 4 ,000 bees. Okay. And, you know, after breakfast, we go out to where the hive is that Tom has set up. A wooden box. Two feet high. Kind of like a beekeeper would have, but with one big difference. The front is all glass. Basically a transparent hive. Yeah. So you can watch the bees inside. And each bee had to be individually recognizable. How do you do that? So you put a little two-digit number on their thorax and a little daub of paint on their abdomen. Until they're painted, they're anonymous members of a colony.

12:39But once they're painted, you get to know them. Some are nervous Nellies. Others come running. Yeah. They have little personalities? Oh, definitely. Definitely. Some get up in the morning and get things going. Others hang out till 11 o 'clock. Anyway, when the sun comes out on that first morning, a big wave of painted bees whooshes out. Except for those slackers who are sleeping in. Fine. Except for the lazy ones who are sleeping in. But pretty quickly, the ones who have gone to work, they start flying out to these feeders, these fake flower patches that Tom has put out for them. Imagine a glass Petri dish where we have high sugar content water.

13:18It's a little buffet for them. Yeah, that's right. And so the way the experiment works is that there are two fake flower patches, but they're not equal. One is better than the other. And what they want to see is like, how do the bees suss that out? and how do they make it kind of a collective decision to send more bees to one rather than the other? Whoa. Okay. Oh, so this is it. This is where you see maybe it's not just random, like they might get to glimpse hive intelligence. Yeah, because remember, this is the whole thing, right? Like winter's coming, they're on a clock, and let's see how they prioritize how they make that decision.

14:02Huh. Wait, and then how do they make one fake flower patch better than the other? Well, there's lots of ways. You know, we can put 1.5 molar sugar. One feeder might have sweeter sugar water than the other. We can change it from one and a half to two and see how the behavior of the bees changes. Or one might be bigger and one smaller. If you had a lot of bees coming to the same feeder, some of them would have to wait. But Craig says, for the purposes of explaining this, just imagine this situation. One feeder, which is close. About five minutes from the hive and another one that's... Ten minutes to fly out to the flower patch, fill up her stomach with nectar and fly back.

14:40A little further away. Okay. So... Tom is at the hive recording each bee as it leaves the hive and each bee as it comes back. Also, are you afraid? Have you ever... I mean, probably not. But like, have you ever been stung by a bee? Are you afraid of bees at all? I am somewhat allergic to bees. Oh, I did not know that. So I am scared of them. But ordinarily, honeybees are not all that aggressive. Anyway, right away, the guys noticed. There are a lot of bees going to this five-minute feeder. The feeder close to the hive is blowing up. And when they follow those bees back to the hive... To my eyes, it just looks like chaos.

15:21But if you're Tom Sealy, you'll spot... The waggle dance. A waggle dance. The bee effectively saying... Hey, go that way. And pretty soon they see another bee from that close by feeder come in and dance. Hey, go that way. And another. Hey, go that way. And another. Hey, go that way. And each time those bees dance, they're bringing more bees back to the five-minute patch. Hey, go that way. Hey, go that way. Hey, go that way. Go that way. And as all that's happening, every now and then. Hey, go this way. A bee comes in and dances for the 10-minute patch. Hey, go this way. But. Go that way. Go that way.

16:01There will be more bees going to that five-minute patch. And there will be fewer bees going to the 10-minute patch. Just because the bee's coming back twice as often.

16:17Oh,

16:21okay. So the closer flower patch gets more bees saying, go that way, that way, that way. and so more bees go that way instead of this way. Right. So now here comes one of the beautiful parts of it. And this is where it gets really interesting. If there are a lot of bees going to this five-minute patch, eventually, Craig says, there will be more and more depleted flowers. This patch, it starts to run out of nectar. Hey, go that way. Go that way. Go that way. That means that a honeybee, she's going to take longer to fill her stomach. Hey, go that way. Right. So a five-minute patch, if it's crowded, is no longer a five-minute patch.

17:00Go that way. Right. It might become a seven-minute patch. And as the patch gets more and more picked over... Now it's an eight-minute patch. Hey, go that way. And then... A ten-minute patch. And... Hey! At that point... Go this way. It's taking the bees the same amount of time... Go that way. ...to go to the close-by patch as it is to go to the one that's further away. Go this way. And because of the dancing, the hive is sort of evening out the number of bees it's sending to each patch. Go that way. Go this way. Go that way. Go this way. Then you're in equilibrium.

17:35Even though the bees don't have stopwatches, they equalize the round trip time. The hive has taken into account distance and crowdedness and figured out the way to get the most nectar in the least amount of time. And in the real world, the bees may very well be going to five different patches. Or a dozen. Not just two. And dealing with actual nature, which means taking into account different types of flowers and weather and predators. But no matter how many other variables the bees have to deal with, the allocation of bees amongst the flower patches is astonishingly efficient. It looks like there's an air traffic controller or like the hive is thinking.

18:28Yeah, that's right. I think, though, when we use the words like thinking, we're thinking in human terms. But if you say thinking, it's just a matter of taking in information, processing it to make decisions. And I think that definition of thinking applies. And the way that they were processing this incredibly complex set of information was by following one simple rule. If one flower patch has a smaller round-trip time than the others... Send more bees there. Like, whichever patch bees are coming back most quickly from... Go that way. Go that way. That's where you send more bees. And that's it.

19:11It's gorgeous, isn't it? A friend of mine once said it's very zen.

19:20But it's also weirdly, it's a very bottom line. Like, it's like, I don't care where you're going. I don't care what you're, like, it's like what really matters is when you show up with the goods. Like, show up with the goods and then we'll talk. And then we'll negotiate. So this system Craig and Tom observed at Cranberry Lake, Craig wrote it up as math. He called it... The honeybee algorithm. What does it look like on paper? Equations I wouldn't want to show a fourth grader. F sub n of X sub n, F sub n of X sub n divided by X sub n is equal to F sub m. And when Craig tried to use this algorithm on his car building robot problem.

20:07It didn't apply. It was completely unhelpful. It was such a different problem. Which is why it was so exciting to him when Sunil walked into his office more than a decade later with this other problem. The internet problem, which to Craig anyway, looked basically the same as the one the bees were facing. And so after 15 minutes, I said to Sunil, let's imitate the bees.

20:36How could imitating the bees help Sunil stop the internet from breaking? I am desperate to finally understand this, but first we need to take a quick break. All right, we'll be right back.

20:54boodoo doo doo doo doo doo ha lulu latif radio lab back with bees yeah um and you were going to tell us how they're like in our internet or something yeah basically pretty much um but to do that i needed an example so i found something in my own life which I apologize in advance for how annoying this is going to be. Okay. Do you remember the hamster dance? No, I don't think I do. Is this like a website? Yeah, yeah, yeah, yeah, yeah. Okay. I'm kind of surprised you don't remember it. It was a very early web kind of thing. But all it was, it was just a song with a web page and the web page was just a bunch of GIFs of cartoon hamsters dancing.

21:39It's the most annoying song that you will ever. Can you still sing it? I can. Would you like to hear it? Yes, please. It was, um, anyway, something like that.

21:55It's very, very annoying. Okay. And I remember when I was like in high school, I thought it was so funny. And one day I tried to show it to my cousin because I was like, oh, this is so funny. You have to see this. And I remember it like taking a really long time to load. And I was like, oh, because there's so many people who are. Who need to get their eyes on this. Right. And so what was happening behind the scenes was, well, OK, so like basic Internet 101. Yeah. Every website on the Internet, like, for example, what was at the time, hamsterdance.com, exists geographically somewhere. Like in the cloud or?

22:33No, no. Like a single earthbound computer, the owner of the website paid for it to live there. And that computer, which is called a server, is not in a house or an office. It is in a special building dedicated to servers, the server farm, right? Or a data center. Okay. So it's at a data center in like Ohio. Yeah. Wherever it is. Okay. These server farms are all over the world and connected together. They more or less make up the internet. Oh. And so. When the request comes in. When, you know, young me types in hamsterdance.com and presses enter. that server... The actual infrastructure that's holding it.

23:13...who is just sitting around in Utah or whatever on the server farm gets a little notification. Oh, someone wants to see that hamsterdance.com website. All right, not too busy with anything else. So it does a little computation. Go ahead and get that for you. Some execution of some Java code or something. Let me see here. I think it's around here somewhere. And then push that content back to UI internet. Here you go. where it pops up on my family's desktop computer back in 1999 and then, diddly diddly, and enjoy it. Then the server just goes back to hanging out on the server farm. But then, oh, another person wants to see that website.

23:54All right, let me just go ahead and get that for you. There you go. All right, where was I? Man, I just love this country. Oh, oh. Oh, no. And as it starts to go viral, a number of people are all bombarding with requests. Until that one server is like, oh my God, somebody help! can no longer serve up this website in a timely manner. And so now people have to wait in a queue, right? And this would happen all the time because back then the way servers were allocated was like you'd get how many servers you paid for. Right. Like the owner of the Hamsterdance website probably would have been like, hey, I'll just pay for the one server.

Read the full transcript

24:36because I don't expect my website to experience a lot of demand. And how wrong they were. Right. Do you remember what that was like, though? Yes, I do. The like slow loading and the like... If something took longer than five seconds, generally the human psychology was that people give up on the website. So as Sunil saw it, the problem was relatively simple. There are a bunch of servers. And sometimes they can be not very busy. Sometimes they're just sitting around doing nothing. But other times... They could be overly busy. And so how, in a system that is changing so quickly, do you get those servers who are doing nothing to help those servers who are doing too much?

25:13Start moving these servers around where they need it. And this is the problem that Sunil brought to Craig. Yeah, hi, I'm Sunil. And, I mean, heck, within 20 seconds, I saw that the problem was similar to the honeybee problem. Like immediately? Like that fast? Yeah, because to Craig, it was like he'd been holding on to this rusty old key that he was holding for more than a decade. And Sunil showed up with something that looked like it might be the exactly matching lock. Yeah, yeah. Like evolution has solved this problem in some way, right? And now you're saying, OK, can you do it in the artificial domain?

25:49And so... They got to work. Right. F sub n of X sub n... Dusted off that old math equation. mapping the two structure of the, you know, what the bees are doing. And sitting there, they started to connect all of these dots. Like collection of bees make up the beehive. Collection of servers make up the internet server farm. Yes, exactly. And wait, so that would mean, oh my God, the stuff on the internet are... Flower patches. Oh, bingo. At that point, things got really exciting. Wait, I'm sorry. Just please stop that. Sorry. How is what the bees are doing anything like what the server's doing? Like, lay out the parallel.

26:26Okay. Why don't we Cranberry Lake this thing, okay? So, instead of a meadow filled with wildflowers, picture the entire internet. Got it. It's the beginning of the day. You're just signing on to your computer, and the first thing you decide to do on there

26:50is watch a video of a baby biting his older brother. finger naturally, right? Yes. Okay. How I love to start my day. Of course. Um, okay. So you watching this video is like a flower opening in the meadow, right? The meadow of the internet. Why is me watching analogous to a flower opening? You watching is like the flower filling up with nectar. It's your desire, which they can capitalize on basically. Oh, me watching is money for, it's, oh, oh. It's money. It's money for them. My eyes on the video. Your eyeballs and your attention, that's like the server company's nectar. Oh, okay. I get it. I get it.

27:30We are the flowers. Yeah, and as more and more people watch and then share this video with their friends who watch it too and share it with their friends who watch it too, that's like more and more flowers opening in the flower patch. and the server hosting that video is like a single bee being like, holy motherly, bonanza of nectar over here. I'm going to need some backup. Oh, so now it has to recruit more bees, aka more servers. Yeah. So it does like a computer version of a waggle dance, this server to server digital nudge. Okay, let's call it a ping. That means, hey, I need some help. Come get some of this stuff.

28:11And so servers buzz over to the Charlie Bit Me video and start servicing all of these flowers, right? Helping all these people to watch this video. And then it kind of keeps going, right? The video popularity grows. Flowers keep opening. More bees needed. More servers needed. And very quickly, all these servers are just servicing the Charlie Bit Me video. But then, wait a second. Now there's a ping, but it's not for the Charlie Bit Me video. A giant container ship wedged from bank to bank. Now everybody wants to see pictures of this huge boat on the BBC website. One of the world's most important shipping lanes.

28:47That just got stuck in the Suez Canal. I remember that. I was a flower. Right, right. So like you, all these flowers opening up all over the world. All of a sudden, the servers that are serving up these boat pictures. Now they're the ones who are saying, hey, we need backup. And again, there is this server to server, peer to peer, B2B, Waggle Dance recruitment ping. calling out to the idle servers to come help. And those servers come and they ping out. And those servers who are no longer needed with the Charlie Bit Me thing are now like, oh man, I got to go help with this Suez Canal thing. Okay, got it.

29:22But then in the actual internet, this is happening times like a gazillion, right? All the time. Literally billions of people, billions of flowers. So could this algorithm, this little fix, like actually work? Well, they had to figure that out. You know, initially excitement kind of sets in, but then you go to prove what you thought would be a good solution, right? To test this idea, Sunil and Craig decided to compare it to another algorithm they invented. That algorithm, we named it Omniscient, where if it could see the future, what would it do? Like if you knew ahead of time everything that everybody would want to see on the internet, how would you organize your servers to meet that demand?

30:11It's basically God mode. This is the best you can do. You can't do better than that. So they compared this perfect model to the way humans had been allocating servers already. Like the guessing. Right. And they compared it as well to the bees algorithm version. And what they found was that the bees... Even without knowing the future, they were coming within like 20-15 % of the optimal behavior. In a bunch of their tests, the human algorithms didn't even come close. Whoa. Yeah. Turns out that... At least theoretically... It worked really well. So based off these results, they publish a little paper, and then Sunil goes back to Oxford to defend his thesis.

30:50I presented the results to the committee. He tells them about the problem he's seen with the internet and how the bees could help solve it. Talking for like 45 minutes to an hour. And when he's finally done, the first question that he gets is, Have you patented this idea or not? Oh, wow. That's a good question to get. But he was like, well, I just published it. You can't patent your own thing if you published. Oh, no. And so he did not patent it. Oh, he gave it away. He gave it away for free to everybody. And over the following months and years, server farms all over the world worked this bee algorithm into the Internet.

31:32Wow. You know, the honeybee algorithm made it 10, 20 percent more efficient. Which means we have the bees to thank for the Internet being this place where... U.S. climber Alex Hunnold stunned. You can get whatever you want... ...video from outside the Capitol shows the beginning of the storm. Right now. The hurricane pushed Lake Pontchartrain deep. It's peanut butter jelly time! I mean, that is just a moment for nature, that that could outperform so many thousands of human brains working on solving all kinds of problems. And just, like, evolution had figured this out through its own longer timeline of trial and error.

32:18Yeah. And not only that, this honeybee algorithm, or variations of it have been lifted into so many other industries. I have found people researching how to use it to forecast exchange rates, design electric cars, detect defects in wood before using that wood for construction, even for sharpening MRI images to better detect breast cancer tumors. Bless that, little bumblebee. I mean, I guess what's so... I think about humans, one of our gifts and our curses is that we can jump to the future, you know, or the past. We can jump out of the present, but we can worry. And that's like entire industry's prediction, forecasting, whether it's weather or money or, you know, whatever.

33:04Like, but we spend time worrying about the future. But it feels like what this, the elegance, it's like not only to me is it beautiful that it came from bees, because I'm a nature lover and I love it when nature outsmarts us or has more elegance in its design. But it's also like one of the insights, if you wipe away all the technicalities, is like it's throwing away the future. It's not basing its decision of where to move based on a guess about the future. It is only responding to the present. Hmm. Right. Right. It's like it's kind of at this very subtle like it's like right at the line between responding to the clues of the moment and predicting the future.

33:59It's on the edge of the present. It's at the edge of the present. And it's like all we got to do is like pay attention to what's happening now and then and like build it into these feedback loops so that we can. Yeah. So that we can address just the next moment. like just the next moment and just the next moment after that and just the next moment after that and just the next moment after that I mean that's if anything that might be a thing I like take around with me

34:51This episode was reported by me, Latif Nasser, with reporting help from Maria Paz Gutierrez. Production by Maria Paz Gutierrez, Annie McKeown, and Pat Walters. Edited by Pat Walters and facts checked by Diane Kelly. We also got a lot of help for this episode from Radiolab and Terrestrials resident bug correspondent, Sammy Ramsey. and we couldn't have done this one without his help. Big thank you to you, Sammy. And if you want to hear more about bees and hear Sammy talking about them, we have a terrestrials episode called The Crystal Ball. Honeybees who predict the future. You can go listen to him over there.

35:26Other major thank yous to John Bartholdi, John Vandeveit, and James Marshall. As well, we want to thank the folks at AAAS who administer the one and only Golden Goose Award. If you remember, the award goes to government-funded science that sounds kind of silly or bizarre, but then goes on to change the world. This research won a Golden Goose Award back in 2016, which is how I first heard about it. So thank you to all our friends there, Erin Heath, Gwendolyn Bogart, Valeria Sabate, Joanne Padrone Carney, and Meredith Asbury. And bees, we barely scratched the surface of how amazing they are. If you want to learn more, read any of Tom Seeley's books.

36:05His most recent one is the incredibly titled memoir, piping hot bees and boisterous buzz runners. I think that should be it. But if you are still here, let me leave you with this bit of tape that has been haunting me. Tennille, like, dude, over the last 20 years, I have used the internet a lot. If the internet today took the same amount of time as the internet in the 90s, like I can easily imagine not just minutes, like I mean hours, full days of my life like a second at a time that this could have saved. Yeah, you're right. But also what most internet service company wants is stickability for you to keep using the service, right?

36:58Okay, so you're saying the opposite. You have made the internet so enjoyable that you have cost me days and hours, potentially even years of my life. So I should be mad at you. Yeah.

37:15And that's it. See you next week. Hi, I'm Gabby. I'm from San Francisco, and here are the staff credits. Radiolab is hosted by Lula Miller and Latif Nasser. Soran Wheeler is our executive editor. Sarah Sandback is our executive director Our managing editor is Pat Walters Dylan Keefe is our director of sound design Our staff includes

37:55With help from Gabby Santas Our fact checkers are Diane Kelly, Emily Krieger, Natalie Middleton, Anjali Mercado, and Sophie Semayi. Leadership support for Radiolab's science programming is provided by the Simons Foundation and the John Templeton Foundation. Foundational support for Radiolab was provided by the Alfred P. Sloan Foundation.

38:30Thank you.

From the publisher

In the early 2000s, Sunil Nakrani felt stuck. 

Back then, websites crashed all the time. When Sunil noticed this, he decided he was going to fix the internet. But after nearly a year of studying the architecture of the web, he was no closer to an answer. In desperation, Sunil sent out a raft of cold emails to engineering professors. He hoped someone, anyone, could help him figure this out. Eventually, he learned that the internet could only be fixed if he paid attention to the humble honeybee. 

This is the story of the Honeybee Algorithm: How tech used honeybees to build the internet as we know it.

Special thanks to John Bartholdi, John Vande Vate, Sammy Ramsey, James Marshall, Steve Strogatz, Duc Pham, and Heiko Hamann.

We found out about this story thanks to our friends at AAAS, who run the one and only Golden Goose Awards. The award goes to government funded science that sounds trivial or bizarre, but goes on to change the world. The Honeybee Algorithm won a Golden Goose Award back in 2016 (https://www.goldengooseaward.org/01awardees/honey-bee-algorithm). Thank you to our friends there: Erin Heath, Gwendolyn Bogard, Valeria Sabate, Joanne Padron Carney, and Meredith Asbury. 


EPISODE CREDITS: 
Reported by - Latif Nasser
with help from - Maria Paz Gutiérrez
Produced by - Maria Paz Gutiérrez, Annie McEwen and Pat Walters
and Edited by  - Pat Walters

EPISODE CITATIONS:

Videos - 

Books -

Sign up for our newsletter!! It includes short essays, recommendations, and details about other ways to interact with the show. Signup (https://radiolab.org/newsletter)!

Radiolab is supported by listeners like you. Support Radiolab by becoming a member of The Lab (https://members.radiolab.org/) today.

Follow our show on Instagram, Twitter and Facebook @radiolab, and share your thoughts with us by emailing radiolab@wnyc.org.

Leadership support for Radiolab’s science programming is provided by the Simons Foundation and the John Templeton Foundation. Foundational support for Radiolab was provided by the Alfred P. Sloan Foundation.

More from Radiolab

All 102 episodes
Time is HoneyRadiolab · 39 min
Listen in VO