Podcast Search

Developing Perspective

#151: A tree falls in the Woods.

Select a time to play from there. The line being spoken is highlighted as the audio plays.

0:00:00Hello and welcome to Developing Perspective.

0:00:02Developing Perspective is a podcast discussing news of note and iOS development, Apple and

0:00:06the like.

0:00:07I'm your host, David Smith.

0:00:08I'm an independent iOS developer based in Herndon, Virginia.

0:00:10This is show number 151 and today is Wednesday, November 13th.

0:00:14Developing Perspective is never longer than 15 minutes, so let's get started.

0:00:18All right.

0:00:20Today I'm going to be unpacking a rather hopefully unique event that happened for me and for

0:00:27feed wrangler and services I run this past weekend and kind of unpack it and hopefully

0:00:31talk about some of the lessons I can learn from it and just generally how it seemed it

0:00:36was just kind of a singular event that I thought would be interesting to talk about.

0:00:39All right, so this this past weekend, I was down at my family has a little cabin just

0:00:44it's around the woods in central Virginia, just outside of Charlottesville, if you know

0:00:48the area. And I went down there with, you know, with some family and it's a lovely place.

0:00:54It's a wonderful little cabin in the woods that has very limited connections to the outside

0:00:58world.

0:00:59It's one of the few places I actually go on a regular basis other than maybe an airplane,

0:01:04even though it's a Wi-Fi now, where I'm basically disconnected.

0:01:07There's a telephone.

0:01:08But other than that, there's really no other connections to the outside world.

0:01:12And it's a lovely place to go and just sort of decompress or whatever you want to call

0:01:18it, where it's just kind of fascinating how-- it's like, I don't have my iPhone in my

0:01:23my pocket, where it normally is, because, well, the iPhone isn't really doing anything.

0:01:29It's not connected to anything. And so it's a lovely place to go and to relax and to spend

0:01:33time with my family and to connect with them in a more direct way. And I went down there

0:01:38this last weekend. And basically, while I'm there, I'm largely disconnected from the world.

0:01:46And so it's always a little bit tricky for me because I run a variety of web services.

0:01:50I run a variety of things and businesses and things that have an ongoing presence, you

0:01:54know, 24 hours, seven days a week.

0:01:56And so there's always a bit of attention and a bit of nervousness that I have when I go

0:01:59to one of these trips because I'm not available.

0:02:03On the flip side of that, I really don't, it's unrealistic for me to always to be available.

0:02:09And some of this is just the reality of being a one man shop, that some of these risks are

0:02:12things that naturally come out.

0:02:15But anyway, so I was down there for the weekend.

0:02:19On Saturday, we came back from the cabin, went to the local library, they were doing

0:02:24a book sale, so we went into that.

0:02:26And then, while I was there, they have Wi-Fi at the library, so I checked on everything,

0:02:29made sure everything was up and happy, all systems were go, I did all my checks, everything

0:02:35was fine.

0:02:36Just to make sure, put my mind at ease, and got back in the car and we drive back to the

0:02:39cabin and had a lovely next 24 hours.

0:02:43Turns out, about five to 10 minutes after we got back to the cabin, after I lost reception

0:02:47and after I was sort of disconnected then

0:02:50for the next 24 hours, if I had had signal,

0:02:55I would have received notification

0:02:57that feed wrangler was completely down.

0:03:00And as a result, none of the feed wrangler or pod wrangler

0:03:05servers were working.

0:03:06Everything was just down.

0:03:09I'll just briefly touch on what happened, I believe.

0:03:11It looks like one of my feed scrapers

0:03:14had somehow gone haywire and started

0:03:19going wild creating connections to the database.

0:03:21And eventually, this number of connections

0:03:23just overflowed its connection pool,

0:03:25and all kind of bad things happened.

0:03:27Some of these bugs that was easy to fix, relatively.

0:03:30Because it was just, I restarted everything,

0:03:32and so far everything's fine.

0:03:33And I'm just kind of gradually investigating

0:03:34exactly what happened to make sure it doesn't happen again.

0:03:37But generally, that had happened.

0:03:39So that means, however, I was unaware of this

0:03:41for the next 24 hours.

0:03:43I was blissfully unaware, having a great weekend with my family while at this time feed wranglers

0:03:51down and no one has any idea what's going on.

0:03:54And it was interesting, then on Sunday when I come back, I get in the car and we start

0:03:59leaving and as you drive out of the cabin, you come in and out briefly with cell signal.

0:04:08It's usually very poor signal.

0:04:10It's like you have one bar and barely 3G, sometimes edge,

0:04:14that kind of thing.

0:04:15And I was driving at the time, so I

0:04:18couldn't look at my phone.

0:04:19But my phone starts-- I start hearing that it's kind of--

0:04:22all these notifications start going off.

0:04:25And the first one that comes on, I was like, oh, it's fine.

0:04:28There's usually something happens within the 24 hours

0:04:31that I'm away from signal.

0:04:33There's usually some notifications,

0:04:34some text message, something that comes up.

0:04:37And then it just kept happening.

0:04:38And they just kept happening.

0:04:39And they just kept happening.

0:04:41And so eventually I asked my dad to look at my phone.

0:04:44And he says, oh, you know, it's a situation.

0:04:47I'm starting to get some messages.

0:04:48People are concerned about me.

0:04:49Am I OK?

0:04:50What's going on?

0:04:51And so rather than driving home, we sort of

0:04:54pull off at the library, which is on the way,

0:04:56because it's the nearest sort of strong internet connection.

0:04:59And I sit down, and I realize feeder anglers down.

0:05:01This is kind of unfortunate.

0:05:04Go log into the servers, reset everything,

0:05:06get everything back up and running.

0:05:08But it had been 24 hours since the service had gone down.

0:05:11And the ironic part of some of this

0:05:14is that I don't think I would have been as cavalier

0:05:18to go into the forest without connection

0:05:20if I'd been planning this trip back in June, when

0:05:24feed wrangler was having a lot of scaling problems,

0:05:26when I was still adapting and growing the service.

0:05:30It being down briefly was a more common occurrence.

0:05:33Because it's been so stable recently, though,

0:05:36I didn't really think too much of it when I left.

0:05:37I kind of had the vague thought that, "Hmm, it makes me a little nervous," and you know,

0:05:41that's why I checked in on Saturday and everything was fine.

0:05:43But ironically, because things had been so good, I didn't think a situation like this

0:05:48was likely.

0:05:49It turns out Murphy's law comes into play here in full force, and so things were down

0:05:56for a long time.

0:05:57A little note before I kind of get into some of the lessons I've learned that was kind

0:06:01of cool though was as I got back and I sort of picked up my, started working through my

0:06:06email and my Twitter queue and all these kinds of things, there was a very interesting kind

0:06:10of like five stage process that everyone had gone through while, sort of while I was gone.

0:06:15So if I, as I sort of starting at around midday on Saturday when things went, sort of went

0:06:19offline, I started getting sort of mentions being like, hey Dave, just want to let you

0:06:23know if you know what it looks like. It's having some trouble. I'm just gonna let you

0:06:26know. I'm sure you're on it. And then sort of as things go on a few hours later, it becomes

0:06:30And it's like, things are still down.

0:06:32It's like, what's going on?

0:06:34Just want to make sure you're working on it.

0:06:36And then they turn into, I guess,

0:06:38the anger phase, where it's like,

0:06:40this is kind of getting unacceptable.

0:06:41What's going on?

0:06:42This is crazy.

0:06:43This is a paid service.

0:06:43I can't believe it's been down for so long.

0:06:45There's no status updates.

0:06:46This is unacceptable.

0:06:49And then that very quickly turned into, oh no.

0:06:52Has anyone seen Dave?

0:06:53Does anybody know if he's OK?

0:06:56Is he fine?

0:06:58And this is like a change very quickly into like concern for my physical well-being.

0:07:00Then people were worried that, you know, something had gone crazy.

0:07:04And then the next, the fifth stage was the, it sounds like somebody needs to go find him.

0:07:09It's like, you know, I have some friends of mine who were, you know, concerned, started

0:07:13calling me.

0:07:14It's like sort of making plans to come over to my house and see if I'm all right, because

0:07:18it's certainly an unusual thing.

0:07:20And it's a weird thing being so connected to the world as we are now, that typically,

0:07:26I'm always available or connected or I'm on Twitter or on email or something in the next

0:07:32-- at least in some way -- 24 hours a day, seven days a week.

0:07:38And so it's a rare thing when someone just disappears.

0:07:40And I appreciate the concern.

0:07:41It was very kind of touching.

0:07:42And I noticed a couple of people were also noticing this, that it was kind of cool that

0:07:46it wasn't so much that people were -- after that early phase, it wasn't so much that people

0:07:52were upset that Peter Engler was down.

0:07:54They could do without their RSS.

0:07:55that they became genuinely worried that something had happened to me. Of course, it makes me

0:07:59laugh a little bit even more that this was immediately after I had posted my five-year

0:08:04retrospective podcast and blog post. And so it almost had the appearance in some ways,

0:08:10I guess you could say, of I just did this huge reminiscence that talks about my last

0:08:14five years and here's what I've done. And then I just sort of dropped the mic and walked

0:08:18away. Which wasn't the case, but it was kind of an amusing sort of coincidence that right

0:08:23after I do all this retrospective work and kind of talk about the things I've done, then

0:08:27he just disappears.

0:08:28So things, you know, it's like, overall, things are, you know, things are alright as a result.

0:08:35I mean, the server was down for 24 hours, which is unfortunate. It's something that

0:08:40I would certainly like to avoid. The crazy reality, though, of servers and things is

0:08:46is that it being down for that long is still a relatively short period of time, sort of

0:08:53if you annualize it or however you want to look at it.

0:08:55You know, the whole thing where they talk about how many nines is your uptime.

0:08:58Being down for an entire day, your uptime would still be 99.9972%.

0:09:06And so I'm not going to get too crazy about it.

0:09:08I'm still working out if I'm going to-- there may be some kind of little extra extension

0:09:13or something I do on people's accounts as a result,

0:09:15add a day or a week on or something like that

0:09:17to compensate for it.

0:09:18But the reality is these are just

0:09:20sort of some of the things that happen, especially

0:09:23being a one-man team working on a project,

0:09:26that sometimes it's never going to be-- there

0:09:29are some benefits of that.

0:09:30There are things that it allows me, for example,

0:09:33to be a relatively low-cost service,

0:09:35that I'm not trying to support a large team, a huge payroll.

0:09:38So as a result, I can charge a relatively modest amount,

0:09:41I believe I'm one of the cheapest, if not the cheapest,

0:09:45non-free service around there for RSS syncing.

0:09:49But on the flip side, there's these kinds of problems

0:09:51where I don't have an ops team.

0:09:52There's not a group of people with pagers

0:09:54who are sitting there on call on a rotating schedule

0:09:58to be available whenever time anything goes wrong.

0:10:01That said, I'll probably be making some changes going

0:10:03forward that when I'm in a situation like this where

0:10:06I know I'm going to be disconnected,

0:10:08I'll probably be giving the SSH keys to some trusted friends

0:10:11so they can go in and do at least basic server maintenance,

0:10:13even if it's just restart all the servers

0:10:15and hope it comes back up and works, that kind of thing.

0:10:17Which I probably should have done this time in retrospect,

0:10:20obviously.

0:10:20Like I said, things had been so stable that it really

0:10:23wasn't a thought that I had.

0:10:25But now it's a lesson learned.

0:10:26And it's something that I can hopefully take from and grow

0:10:31going forward.

0:10:32But it was an interesting experience to go through.

0:10:36And I think I've mentioned this in my 50 year-- it's

0:10:39That's a five-year retrospective last week.

0:10:43So much, I think, of being good at what you do,

0:10:47being successful overall, is you have to make mistakes.

0:10:52Because no matter how often you are told about something

0:10:58or you read about something, it's

0:11:00very hard to take those lessons and apply them

0:11:02to yourself in a consistent way just

0:11:06from hearing someone else's mistakes

0:11:08or hearing about someone else's experience.

0:11:10For me personally, maybe this is a character flaw.

0:11:12I often have to have made that mistake myself the first time

0:11:15before I will be able to learn from it and really apply it

0:11:18because I don't take it seriously.

0:11:19Or I diminish it or I say, oh, I'll be fine

0:11:21or those types of things.

0:11:23And so having, you know,

0:11:25it's like having gone through this experience,

0:11:26it's like I now have some interesting,

0:11:27learned some interesting lessons about, you know,

0:11:30I have to make some decisions too personally

0:11:32about what kind of an uptime commitment

0:11:36or expectation that I want to set,

0:11:38that I want to have as reasonable for people.

0:11:41Because the reality is I can't have

0:11:47the constant uptime of feed wrangler

0:11:49take precedence over my life in a pervasive way.

0:11:53That I'm constantly worried about the servers

0:11:57and the service and so on.

0:11:58There's this constant worry every time

0:11:59I go to bed that is something going

0:12:01to happen in the middle of the night that's

0:12:03going to cause the service to go down.

0:12:04Because ultimately, the quality of life

0:12:06that that would engender just sort of isn't for sale, maybe

0:12:09is the best way to say it.

0:12:10It's not something that I would choose to take on.

0:12:14And because the reality is I'd rather be available and present

0:12:18for my family, my kids, and I want to not have something

0:12:22hanging over me.

0:12:23But at the same time, I want to run a good service.

0:12:25I want to run a service that works well for people

0:12:29most of the time.

0:12:30And a lot of that is probably going to come into--

0:12:32I'll need to be making some changes, I think,

0:12:34and technically on the back end some of the things

0:12:36that I can do to potentially mitigate this

0:12:38or make it a bit more self-healing

0:12:39are those types of situations, sort of scenarios.

0:12:42But overall that's kind of where I find I,

0:12:44sort of I find myself.

0:12:46And it was an interesting experience to go through

0:12:47because now I have to think about those things

0:12:48in a way that I don't think I necessarily

0:12:50had thought them all the way through before.

0:12:52That what is a reasonable expectation for uptime?

0:12:55And the reality is some people,

0:12:56customers are gonna have different feelings for that.

0:12:58I've had some people who came back to me

0:13:00once everything was back up

0:13:02and they knew that I was okay

0:13:04And they were like, I'm glad you had a great weekend.

0:13:06Don't worry too much.

0:13:07We can get our RSS later.

0:13:08It's not a big deal.

0:13:09And I had some people who emailed,

0:13:11and they were very upset.

0:13:12I can't believe this is a paid service.

0:13:14I gave you good money for this service,

0:13:15and I can't believe it's been down for as long as it is.

0:13:17I want a refund.

0:13:17I want-- the reality is I can't please everybody.

0:13:20I'm going to-- no matter what I did,

0:13:23if it being down for 24 hours is a long time.

0:13:26If it had been down for two hours,

0:13:27you would have had-- some people would have had the same thing.

0:13:29It could have been down for two minutes,

0:13:31have had the same reaction.

0:13:34And that's valid.

0:13:35That's fair.

0:13:36They're entitled to their opinion.

0:13:38But the reality is, ultimately, their opinion

0:13:40can't drive what I do.

0:13:41It's sort of like if you try to build

0:13:42an app that was reacting to all the App Store comments

0:13:47that you received.

0:13:48The app you would end up with, I don't think would be good.

0:13:51Nor would you enjoy building it, probably.

0:13:53Ultimately, you have to make some decisions about the kind

0:13:55of business you are, the kind of way

0:13:57you want to run your business, and just go forward from there.

0:14:01All right, so that's it for today's show.

0:14:02Just kind of an interesting story that I wanted to share.

0:14:04Hopefully that was interesting and useful.

0:14:05And if you're one of the people who was affected by it,

0:14:08I'm sorry.

0:14:09I wish it hadn't happened.

0:14:10I've learned a few things, and I don't

0:14:11think this particular problem will happen again.

0:14:14Though there's always the worry with these types of things

0:14:17that you end up fighting the last war

0:14:19rather than being able to predict whatever

0:14:20the next battle is going to be.

0:14:22But anyway, as always, if you have questions, comments,

0:14:24concerns, or complaints, I'm on Twitter @_davidsmith,

0:14:27david@developingperspective.com.

0:14:29I hope you have a great rest of your week.

0:14:30coding and I'll talk to you later. Bye.