Categories
Café Technology

Of Reindeer and Reliability

This guest post comes to us in timely fashion from Friend of the Blog James Bonang.

’Twas the night before Christmas, and Santa’s days were numbered. My daughter had just turned seven and, on Christmas Eve, approached me with the question: “Daddy, is Santa Claus real? The kids at school say that it is actually your parents who place the gifts from Santa under the tree.”

Caught off guard, I paused briefly, then responded “Your parents? Clarisse, are you suggesting that there’s a worldwide conspiracy to deceive children into believing in Santa Claus, that every adult in the world is a co-conspirator, and that they have all managed to maintain this deception for years in the face of questions from clever and ever-inquisitive young children? Have you been listening to Oliver Stone again?”

Blank stare.

I remembered a news broadcast about how NORAD, the North American Aerospace Defense Command, tracks Santa Claus on radar and reports his position for children and said “Let’s go to the Air Force’s website and see where Santa is right now.”

Look of astonishment.

I threw open the computer and stirred the mouse. The machine arose from its long (measured in microseconds) winter’s nap amidst the clatter of the fan motor (suggesting something was the matter), when what to my wondrous eyes should appear, but Google’s minimalist user interface. Over the keyboard my fingers flew like a flash (apologies to Clement Moore, though I do type pretty fast). We looked up the appropriate web address for the “NORAD Santa Tracker” website, which is historically associated with the U.S. Air Force, though maintained by volunteers (at no expense to the taxpayers).

Her brow hinted at deep concentration as she carefully examined the page; her expression signaled “this looks pretty official.”

We read the details concerning the radar cross section of Santa’s sleigh and how Rudolph’s nose is easily detectable due to its pronounced infrared signature. After a little explanation from dad about radar, the electromagnetic spectrum and satellites, her nods indicated “that sounds plausible.”

“OK. It’s time to check his current location,” I said. Her eyes lit up with anticipation. We displayed a page that showed his whereabouts and that plotted each leg of his journey. (I noted the radar track coming down from the North Pole and, having grown up during the Cold War, thought briefly “Hmm, I sure hope that’s Santa.”)

“Where is he? Where is he?” she said, barely able to contain her excitement.

“Well,” I said, pointing to the satellite image of North America, “he appears to be somewhere in Wisconsin.”

“He’s in Wisconsin! He’s in Wisconsin!” she said, jumping up and down. “Where’s Wisconsin?”

“Well, Wisconsin is here and you are over here in California,” I said, tracing out the two states on the computer screen. “The children in Wisconsin are already asleep.”

“Wow! He’s almost here! I’ve got to get ready!” she said, dashing out of the room. Soon thereafter, she too was fast asleep, having carefully prepared a plate of cookies and a large glass of milk.

Santa made his appointed rounds right on time that year, after, of course, receiving his customary Air Force escort.

If there’s a child in your life who may be having doubts, the NORAD Santa Tracker provides everything you need. The Santa Tracker website displays Santa’s current location, where he’s delivered presents, and his next appointed round (using Bing maps, satellite imagery, and impressive CGI graphics no less), which adds to the anticipation of the evening. There’s also a phone line operational on Christmas Eve, as well as email, staffed by sixteen hundred volunteers, including many personnel from the U.S. and Canadian armed forces.

When your child is done chatting with them, the website offers a collection of entertaining holiday-themed games to pass the time (the occasional adult might find several of them inexplicably addictive too). The site also stealthily disguises educational content on Holiday traditions that your child might unwittingly be fascinated by. (In Spain, Christmas dinner is never eaten until after midnight. Who knew?) Of course, your child will be learning geography too as they follow Santa around the world.

There are lessons for programmers in all this too. Consider the unusual nature of the site: unlike amazon.com or wikipedia.org, the Santa Tracker site is dormant for most of the year. Things pick up in December, culminating in a massive burst of traffic on December 24th. This spike in load can’t be allowed to overwhelm it; it just can’t go down. Other sites might see usage profiles similar to this on Black Friday or Cyber Monday, but the Santa Tracker’s operational availability requirements lie in a league of their own. (Michael Nygard explains how difficult this is in his book Release It! Design and Deploy Production-Ready Software, available from The Pragmatic Bookshelf.)

How do they do it? The Santa Tracker site uses a cloud-based solution built on Microsoft’s Azure platform. Microsoft employs three Azure-based data centers, two in the U.S. and one in Europe, to provide scalability and reliability.

By a strange coincidence, the computer hardware and software technologies built into NORAD’s Santa Tracker were pioneered in the 1950’s, by another highly reliable distributed system used by NORAD to track, well, other things.

In 1949, the Soviet Union detonated its first nuclear device, signaling that its bombers would soon be able to deliver nuclear weapons to the continental U.S. by flying over the North Pole. America’s antiquated air defenses, with their manual information processing approach, wouldn’t suffice. A better, largely automated, means had to be found. The Semi-automatic Ground Environment, or SAGE, system, developed and deployed during the 1950’s and up to 1962, not only gave America the air defense system it needed, it advanced computer technology by a generation. SAGE introduced networking and distributed systems, along with cathode ray tube monitors with pointing devices, not to mention reliable magnetic core memory in its AN/FSQ-7, or “Q-7” computers.

Despite the use of vacuum tubes, the SAGE computers achieved remarkable reliability for the time, exceeding the reliability of solid state computers arriving much later. SAGE employed two computers in a duplex configuration at each of its sites: if one computer failed, the other took over. If both computers failed, another site took over, much as is the case with Microsoft’s data centers today. The system achieved 98% operational availability, not quite as good as today’s NORAD Santa Tracker but astounding for the time.

It wasn’t only hardware innovations that contributed to the system’s reliability: SAGE was a large-scale software development effort too. James Wong’s delightful description of his work as a programmer on the SAGE system, available here, will be distressingly familiar to today’s programmers, even though he had to code in assembly language, a rarity today. The reliability techniques pioneered by the SAGE system live on, though their heritage remains largely forgotten. Unlike the traditions that surround Christmas, traditions haven’t formed around these reliability techniques; we often must learn them anew.

Speaking of traditions, it may strike you as a bit odd that a modern, technological Christmas tradition – tracking Santa – has formed around an organization charged with defending North America from nuclear attack. How did that come about?

By accident, how else? In 1955, a child misdialed a number advertised by Sears as a direct line to Santa, and instead reached United States Air Force Colonel Harry Shoup, the duty officer at the Continental Air Defense Command, NORAD’s predecessor organization. The public relations opportunity didn’t go unheeded, and NORAD’s annual reports on Santa’s whereabouts began. It’s a Christmas tradition destined to live on.

Another tradition of the Christmas season is to give thanks, particularly to those whose efforts go unnoticed or unappreciated. In that spirit, my hearty thanks go out to all the volunteers behind NORAD’s Santa Tracker, and to all the volunteers who track those other things and who keep us safe. They let the magic live on for my daughter, if only for a little longer, all those years ago, and much more.

Clarisse is all grown up now, but still returns to the Santa Tracker site. She’s a computer science student at a local university and likes to study the latest web interface enhancements. I can’t help wondering if visiting the site back then might have kindled her interest in the field. Perhaps. And perhaps the efforts of those volunteers will benefit your child as well.

Now, if you’ll excuse me, I need to check the latest reports.

“One unidentified sleigh, red, powered by eight reindeer, altitude 14,000 feet, heading 180 degrees…”

Almost here.

“Moon, Santa Claus, Reindeer Night” by Yuri_B is licensed by Creative Commons 2.0.