Uncategorized

Anatomy of an outage

For the truly curious or geeky among our beloved spacefans, registered users and subscribers, here's the full story of the service outage that happened on Sunday 3/14 and part of Monday. I write this not because I expect that many will read it in full, but because I believe that being transparent about these events is important to create trust between HOS and users of our web service. You'll also get a good idea of what it takes to set up and operate a streaming service.

:: SH


FRIDAY  3.12

We did a normal update on the site on Friday afternoon to add new show #904, a Celtic-themed program titled "The Turning Tide." It went very smoothly, with the new banner, the Flickr image gallery, the blog post and the Promo Podcast RSS feed update all coming online within a few minutes of the optimal time (6pm Pacific.)

After 9 years of running a live web service we no longer take anything for granted, so I streamed the entire show and confirmed that everything was working as expected. Happy St. Paddy's day, spacefans!

SATURDAY  3.13

…came and went with no problems at all, but since Saturday night/Sunday morning was the change to Daylight Time, we double checked the system shortly after midnight to make sure our three sets of servers were all on the same time page, so to speak. Everything was chill, and we even indulged ourselves in a bit of telly before heading off for a good night's catch-up sleep.

SUNDAY MORNING  3.14

….the first email arrived from a subscriber around 9:45 AM, letting us know that our player was responding slowly. We couldn't replicate it; all seemed well from here. A couple of hours later, more messages arrived saying that Flash player was stuck on "Trying connection on port: 1935."

We could replicate that. If you waited long enough, the player would load eventually, but sometimes it could take five or ten minutes. Then you had to wait for the music and the "metadata" — the text information that identifies what's playing.  The rest of the site was behaving perfectly. That indicated a problem with our Flash Media Server, not our web server. 

We rallied the troops: our webmaster and our near-resident programmer were pulled out of Sunday morning leisure onto active duty. We called emergency tech support for our Content Delivery Network (CDN) and put in a "trouble ticket."

The trouble ticket alerts the technical personnel who actually run the physical computers and their associated server software. It triggers email and/or IMs to everyone who can contribute to a fix. Within a half hour, several people were working on analyzing what was causing the slowdown, including the owner and alpha geek of our CDN.

A Content Delivery Network provides bandwidth and streaming services or "hosting" of servers for companies like us. Our CDN maintains our Flash Media Servers and the associated database servers that provide all the detailed information that makes the site run.

Our web site and many others depend on a combination of several different kinds of servers to function. A group of three is common — a web server, a database server, and for media sites like ours, a content delivery or streaming server like our Flash Media Server (FMS). If a third party provides e-commerce or media security services, yet another server is linked to the group.

Each of these servers resides in a large, secure Data Center operated by an enterprise level hosting company serving multiple Internet service providers (ISPs) and CDNs. To avoid problems local to any one data center, each major function has a back-up or "failover" server, often physically thousands of miles away. Distance hardly matters when huge Internet fiber optic lines connect major data centers at the speed of light.

In our case the web server is in Texas, the database and content servers are deployed in pairs in Chicago and Northern Virginia, and our e-commerce provider's secure data center is in Los Angeles. The matched pairs of content and database servers serve as backups and emergency spares for one another, and also can share the work should our main streaming server ever have more load than it can handle. (So far this has never happened — we have lots of server headroom at HOS.)  Last but not least, when you sign in to HOS.com, our e-commerce provider's server has to identify you and the rights associated with your account. All these servers work together in tenths or hundredths of a second to get the job done.

SUNDAY AFTERNOON

Back at HOS, a couple of hours passed and things were not clearing up. Since the site was not operational and none of our efforts revealed the source of the problem or a cure for the slow down, we put up a "technical trouble" screen on the home page so users arriving did not have to discover the situation on their own and waste more time writing up problems we already knew about.

That would take some of the heat off our support email. It also would give our CDN time to redirect traffic to our backup set of streaming and database servers. However, when the CDN tested our alternate servers, the same problem appeared. It looked like the problem had been replicated to the spares along with the working data — definitely not the result we had prepared for. Whatever and wherever this issue was, it was nothing we'd ever seen before.

Our webmaster, our programmer, and our CDN's head tech spent all afternoon and evening testing and checking all possible systems to try to figure out what went wrong and where. The tests were as frustrating as the site's behavior: the CDN could find nothing in their diagnostic systems that even indicated there was a problem, let alone a cause for the one we had!

SUNDAY EVENING

By 9PM Pacific, our Flash programmer started to run another, more sophisticated round of diagnostics to verify that nothing was wrong with our Flash server. It had been running perfectly for several months, and nothing had changed since the recent player update, which went completely without incident. After two hours of probing, he found a very obscure anomaly buried several levels down in the operation tree.

Here at last was the problem. When our Flash server needs a piece of information from our live online database, it sends a request to an associated database server on another machine in the same data center. As a security feature, the database server checks to make sure the request is coming from either our streaming server or our web server and not from, say, a Russian hacker.

It does this by a process known as "reverse DNS lookup." Essentially, it checks the numerical Internet address of the requesting machine against the Internet domain name directory to make sure they agree. If they do, it processes the request and returns the data to the Flash server. If the address of the request doesn't check out, FMS ignores it. The whole process normally takes a small fraction of a second.

Using special testing software, our Flash programmer saw that database requests were not being answered, but were stacking up in an incomplete state, so the request was either answered late or not at all. Without the data it needed, the Flash player could not finish loading. He wrote a report and posted it an internal bulletin board that sends email to everyone involved. At that point we all realized we had a problem that was not going to be solved that night and would require assistance from the main data center staff in the morning.

Now it was nearly 1 A.M. Monday morning. Because our FMS testing showed that 20% of requests were still being fulfilled, we decided to take down the trouble page and allow those who could get through to use the site. We put up a note warning about the problem and apologizing for the delays and slow behavior.

MONDAY 3. 15: THE HIDDEN DEPENDENCY

By noon on Monday, our CDN was able to switch over to our alternate streaming and database servers successfully. It turned out they had been running properly all along. The CDN's original cutover failed because it switched only half the pair: the alternate media server was still making inquiries to the impaired database server, so the results were the same. Our Flash programmer realized this and reminded the CDN techs of an esoteric requirement of
the Flash Media Server that they had failed to satisfy. 

Once they fixed this, we were back on the air with normal site operation using our backup servers. We put up another notice on the home page, and after 27 hours, started to breathe again.

Around the same time our CDN techs figured out the cause of the problem: the Domain Name Servers (DNS) in the Chicago data center were malfunctioning on Sunday.

DNS servers are deep Internet plumbing, maintained by primary service providers around the world. They are several levels removed from anything we normally see, interact with or control and are generally assumed to work 24×7, which is why we didn't suspect them at first.

We still don't know why or how it happened, but we immediately took steps to eliminate the "hidden dependency"  We solved the security issue reverse DNS lookups are trying to protect against another way, and removed the reverse DNS routine on the database server. This effectively prevents this particular problem from recurring.

To improve the switch from normal to backup server operation, we're putting in a new "push-button" automatic script, so a partial cutover cannot happen again.

We're still trying to get an answer about when and why the Chicago DNS servers failed to perform in their usual reliable manner. Since their operation is controlled by a large company two levels above us with whom we do not have a direct relationship, we may never be able to get the full story. If we do, we'll update this post with the details.

WHAT HAVE WE LEARNED?

After 9 years of operation as a web service, we have learned many things about what it takes to make a web site fast, reliable and trouble free. Some lessons, like this occurence, we've learned the hard way. There always seems to be something you don't know about, don't even know you don't know about, or can't control. Needless to say, this is deeply frustrating to all of us at HOS, and deeply inconvenient to all of you, who just want to listen to good music, not listen to geeky reasons why the site isn't working. Our sincere thanks to all the dedicated engineers who make this stuff work and sacrificed a goodly chunk of their weekend to figure this out.

I wish we could say this is the last time it will happen, but in all honesty we can't. What I can say is that the odds of it happening are getting longer all the time.

:: Stephen Hill

Perigee and other astronomical misconceptions

OK, spacefans, I just got some schooling from a real astronomer about the title of Program 897 "Perigee." I'm a little embarrassed, but a lot better educated. (For the record, what I meant was "low energy point" which is called the "ground state" in physics. Not very poetic, though. "Nadir" would have been better…)

:: SH

From: Larry Krumenaker
Date: January 2, 2010
Subject: astronomical misconception in this week's playlist

Hello, Pair of Steves.

My name is Dr. Larry Krumenaker, I'm an astronomer and educator in Atlanta. I get your programming list every week.

This week I noticed your use of "perigee" for the 'low point' of the year. Unfortunately, you have used the word in a completely wrong context. "Perigee" refers to the closest point of a satellite or the Moon in its orbit around Earth.  The northern hemisphere's view of the Sun is truly at its lowest points for the year in our skies but it isn't due to perigee, the Moon and its orbit has nothing to do with it. 

I believe you were really meaning to use the word "perihelion," which is the Earth's closest distance in _its_ orbit around the Sun.  But even that isn't the cause of the Sun's 'low point' in our skies.  That's due entirely to the Earth's tilt.  The Earth's tilted axis points away from the Sun for Northern Hemisphere listeners of Hearts of Space. 

Thus the sun appears low because we're kind of looking way down toward the Sun shining high over the southern continental and oceanic areas, Australia, South Africa, etc.  At perihelion, we are actually closest to the Sun and, logically, that should mean we'd be warmer here in the US than we are, therefore, you can deduce that the solar distance has little, if anything, to do with our cold weather.  Unfortunately, this is an all too common misconception, that we are cold in January because we must be farther from the Sun.  That is quite far…from the truth.

It's the fewer hours of sunshine we have, and the more spread out and less concentrated sunshine that causes our low point of weather, and the tilted earth's axis that causes the low altitude of the Sun.  It has nothing to do with either the moon's distance from us, or our distance from the Sun.

If you want to astronomically distinguish between highest and lowest, the highest you can get is "zenith" or "zenithal".  The lowest point is the "nadir."  Using "perigee" for lowest is completely wrong, as the prefix "peri-" doesn't mean lowest, it means closest.  "gee" refers to earth, as
in "geology".  The opposite of "peri-" is "ap-" as in aphelion, the farthest distance from the Sun the earth gets (in July), or "apogee", the moon's farthest distance from the earth.  While one could perhaps conceive of perigee and apogee as highest and lowest distances of the moon from us, that would be linguistically wrong, and has nothing to do with the highness or lowness of our solstitial sun.

You can read more about my work in Atlanta teaching astronomy, and about my magazine The Classroom Astronomer, at my business website http://www.toteachthestars.net .

Sincerely,

Dr. Larry Krumenaker

Thanks for clearing that up, Dr. Krumenaker!

86 on the black caps

UPDATE: After receiving a second
sample of the black caps, we've pulled them from the HOS store. No one had actually ordered one yet, and it's a good
thing — the results were very disappointing.

The designs are not embroidered as we originally thought
from the description on the site, but printed onto white patches using
a "dye sublimation" printing process. Whatever they call it, it sucks. We've started looking for an alternative and will post here when we have it.

PGM 893 “TOUCHING the SKY” : Week of Nov. 20th…

The story of contemporary Native American music goes back to 1951 and the founding of Canyon Records in Phoenix, Arizona.  In the almost 60 years since then, traditional forms have been revived, renewed and celebrated, and new styles have emerged from the creative energy of native and western musicians.

From his first Canyon album in 1983, Navajo musician R. CARLOS NAKAI has worked tirelessly to re-establish the Native American cedar flute as an instrument for healing and meditation, extending it far beyond its origins into folk, jazz, country, classical, new age and ambient music. In these new ambient soundscapes, we enter a world of reverence, mystery and ceremony, haunted by the voices of ancient spirits.

On this transmission of Hearts of Space, we focus on the new  ambient dimensions in Native American music…on a journey called TOUCHING THE SKY. Music is by JOHNNY WHITEHORSE, DEBORAH MARTIN & ERIK WOLLO, COYOTE OLDMAN, and SCOTT AUGUST.

[ view playlist ]     [view Flickr image gallery]     [ play 30 second MP3 promo ]

PGM 890 “FADING WORLD” : Week of Oct. 23…

As we journey deeper into the autumn soundscape the music reflects the progression of the seasons. After the bounty of summer, it’s a time of receding, darkening, diminishing…marked by a final blaze of intense color, then desaturation — as life withdraws and retreats.

The music of autumn is complex, with foggy timbres, minor key harmonies, descending progressions, and patient suspensions. It’s the sound of withdrawl, deflation, and retreat, as the natural world prepares for the rigors of winter.

On this transmission of HEARTS of SPACE, a chamber/electronic journey for autumn called FADING WORLD. Music is by LUDOVICO EINAUDI, JAMI SIEBER, JEFF GREINKE, AMIINA, and the KEVIN KELLER ENSEMBLE.

[ view playlist ]      [ play 30 second MP3 promo ]      [view Flickr image gallery]

PGM 536R “THE PRAYER CYCLE” : Week of Sept. 17th…

If spring is the season of hope, then it is fitting that in the spring of 1999, Sony Classical released an album by New York composer JONATHAN ELIAS, titled THE PRAYER CYCLE. This week we devote the entirety of this 25th Anniversary retrospective transmission of Hearts of Space to this extraordinary recording, which sums up several of the key artistic directions of the program in classical, world, ambient, electronic and vocal music — in a single piece.

JONATHAN ELIAS is best known for his work as a composer of music for television commercials and feature films. But nothing in his resume would have hinted at the scope or the depth of this project, which Elias undertook in the period immediately before the birth of his first child.

“I was excited by the possibilities for my child,” he says, “but I also felt anxiety and sadness about the world she was about to enter.
With all the wondrous advances of mankind, it was painful to acknowledge the other defining characteristic of the 20th century, which is more calculated and cold-blooded than any other period of recorded history. Is man’s inhumanity to man as common in our nature as other forms of survival?

With these thoughts and concerns, I began to write ‘The Prayer Cycle.'”
The effect of this brilliant multi-cultural, multi-language production is powerfully moving and very appropriate to the underlying message: “Prayer,” says composer Elias,” is what we turn to when the only thing we have left…is hope.”

THE PRAYER CYCLE… a eulogy for the 20th century… and a prayer for the 21st…on this 25th Anniversary edition of Hearts of Space.

[ view playlist ]      [ play 30 second MP3 promo ]

PGM 886 “TANGERINE DREAMING” : Week of Sept. 4th…

We’re at the famous Burning Man gathering in the Nevada desert this week, but we’ve preloaded a show that’s long overdue: our first retrospective of the seminal German electronic band TANGERINE DREAM. Thanks to Gintas Enrikaitis for reminding us that “it’s time.”
The playlist has all the details — just click the link below.

Have a great Labor Day weekend…we are!

[ view playlist ]      [ play 30 second MP3 promo ]

Using the HOS Service on Linux OS

This was a bit of a challenge during the Windows Media era (2004-2009), but now that we've moved to a custom Flash player and Flash Media Server, any Linux user with a reasonably standard setup should be fully compatible with both the web and media layers of the HOS service.

Please see the Linux item in our HELP section for details of what you need to run the service on 64 bit Linux systems.

Radio Channel Update : Wintertones

Please note that this playlist applies to the Windows Media service only.  On our new Flash™ service we have automated the selection of radio channel programs via a custom algorithm. [To try the new service now, go to beta.hos.com]

01   864   WINTRY BRONZE   crystalline sounds for bells, gongs & resonant percussion
02   863   CONSONANCE   Medieval, Baroque and Now
03   862   ABSOLUTE ZERO   a journey to the quiet heart of winter
04   861   NIGHT LIGHT   Nordic winter lullabies for the dark season
05   858   RESOLUTION   ambient electronica for problem-solving
06   843   STELLAR VISIONS   a cosmic electronic journey
07   840   DIVENIRE   the contemplative minimalism of LUDOVICO EINAUDI
08   833   GENERATIONS   continuing our communion with the Celtic ballad
09   830   DAVID DARLING RETROSPECTIVE   soulful lyricism from the revered  cellist
10   829   GALACTIC TRAVELER   an electronic deep space excursion
11   822   RESTRAINT   subtle, lyrical Nordic spacejazz
12   820   SPECTRAL VOICES   the ghostly world of harmonic overtone singing
13   795   SPACE GUITARS 7   stretching six strings till they dematerialize
14   799   MESSENGERS OF PEACE   music from the Tibetan diaspora
15   793   HYPERBOREA   a journey beyond the north wind
16   787   CAMERATA NOVA   Early Music reconsidered  
17   786   WINTER ON THE WIND   deep, clear electronics : warm, floating harmonies  
18   762   INSIDE LOOKING OUT   a MARK HOLLIS retrospective  
19   760   UNDERSCORE   exploring the world of ambient film music
20   756   PIANOSCAPES 3   piano, personal and contemplative
21   755   NORDIC FLIGHT   crystalline, passionate Arctic spacejazz
22   722   TELHARMONIA   floating and flying on electronic waves
23   719   SUBLIMATION   supercooled wintry electronica
24   681   KEYS OF GLASS 2   ethereal winter music for piano and electronic keyboards
25   682   CELTIC STARLIGHT   a winter celebration of the Celtic ballad
26   655   ELECTRIC TEARS   the melancholy side of the electric guitar
27   813   THE MUSIC OF MYST   a journey in mythic soundworlds
28   689   DARKNESS AND DAWN   patient, forbearing spacemusic for late winter

Radio Channel Update: 25 years of winter soundscapes

01    002   STARMUSIC   the original electronic spacemusic show
02    005   WINTERSPACE   an ethereal winter spacemusic journey
03    064   ELECTRIC SNOWFLAKES   electronic spacemusic for winter
04    092   PIANOSCAPES   reflective piano landscapes
05    119   JOURNEY TO STRATOS   a classic celestial deep space journey
06    148   PEACE OF MIND   warm and peaceful spacemusic for the holiday season
07    149   MIDNIGHT SUN   a journey in the frozen lands of the Midnight Sun
08    183   WINTERSONGS   winter songs for silent landscapes
09    215   SILENT FIELDS   a deep winter journey
10    246   REMEMBRANCE   the Hearts of Space 1990 Winter Spirit program…
11    248   SACRED TREASURES FROM RUSSIA   very, very special Russian sacred choral music
12    249   WINTERGARDEN   a journey in the quiet spaces of winter
13    273   NORTH AT MIDNIGHT   a Celtic journey for the winter season
14    280   LOOKING EAST   the wintry, soulful music of Eastern Europe
15    282   THRESHOLD OF SILENCE   a deep space journey to the Threshold of Silence
16    309   ANCESTRAL VOICES   a winter journey across the Native American soundscape
17    312   NORTHERN LIGHTS   the chilly side of the European soundscape
18    317   TEUTONIC ELECTRONIC   a journey to the epicenter of German spacemusic
19    327   MORE INFINITE GUITARS   cosmic guitars from international space
20    343   SANCTUS   contemporary sacred and choral music for the winter season
21    347   ELECTRONIC DREAMS   electronic spacemusic in the grand tradition   1994
22    359   THE ZONE   at the threshold of silence, The Zone
23    376   RIDING SOLAR WINDS   interstellar electronics from the U.S. and France
24    378   DARKWOOD   acoustic spacemusic from Europe and the north
25    649   CRYSTAL BELLS   clear and deep: a winter's holiday journey
26    786   WINTER ON THE WIND   deep, clear electronics : warm, floating harmonies
27    791   NORDIC SOUL   a far north spacejazz and new music journey
28    827   WINTER LIGHT   a cold day journey in blue-grey soundscapes