Podcast Search

Developing Perspective

#119: Go Big or Ship?

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:05Developing Perspective is a podcast discussing news of note in iOS development, Apple, and the like.

0:00:07I'm your host, David Smith. I'm an independent iOS and Mac developer based in Herndon, Virginia.

0:00:12This is show number 119, and today is Friday, April 12th.

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

0:00:20All right, I've got four quick topics to talk through today.

0:00:24And first I was going to start off by talking a little bit about just kind of letting an opinion about the whole thing this week

0:00:26the whole thing this week about app rejections,

0:00:28the App Store policy being pulled,

0:00:30and that kind of came out of the AppGratis,

0:00:34I don't even know, debacle, whatever you want to call it,

0:00:36scenario.

0:00:37And if you haven't heard about it,

0:00:38basically there was this app that was doing app promotion,

0:00:43providing an alternate way to find apps

0:00:45that you could pay to buy things.

0:00:48I don't really understand at all exactly how their business

0:00:50model worked.

0:00:51But the reality is, the short version

0:00:53is Apple decided to reject or pull the app from the store for violating two lines in

0:00:59the app review guidelines.

0:01:00And there was a bit of a back and forth about that.

0:01:02Like, what does that mean?

0:01:03It's like, here's this company with many people, a lot of funding, and all of a sudden their

0:01:06business just disappears overnight.

0:01:07Like, that's a little bit disconcerting, rough, especially if you're somebody who makes your

0:01:12business and you're living in the store.

0:01:14It just reminds me of, it's just one of those things of, if you want to work in this business,

0:01:22If you want to make your living in the App Store, it is a simple reality and a truth

0:01:27that that is just the nature of the beast.

0:01:29And I've talked about this many times before, how I like that.

0:01:33As much as it's disconcerting, as much as I think that there are problems and challenges

0:01:36and there are things that Apple doesn't do right, I like that that's the case, because

0:01:40I think in the broad strokes it improves the quality of the store.

0:01:43That generally speaking, what Apple's goal is usually is to make the App Store experience

0:01:48the best as it can possibly be for its customers. And that,

0:01:53broadly speaking, it is a fair system for some definition of

0:01:57fair. And so you just have to understand that if you do

0:02:01anything that gets close to the line, you're you're gambling at

0:02:05that point. It's not and you just have to go into it with

0:02:08that. But that mentality and that mindset, I think, and

0:02:11that's just kind of the way it is. It's like if there's a, you

0:02:13know, it's like high risk, high reward, the closer you get to

0:02:15that line. And it's just interesting because you can, it

0:02:18It doesn't mean that you have to be totally paranoid about it, but it's just understanding

0:02:22that that's what you're doing.

0:02:23And the closer you get, if you read through the app review guidelines and there's a line

0:02:26in there that's getting close to something that you're wanting to do or you think you

0:02:30found kind of this angle or this niche, that's just the reality is that you're putting yourself

0:02:35and your business in a place that could disappear overnight.

0:02:39And that's just the way it is.

0:02:41And I like that in that I think the end result is that it's a better store.

0:02:48The individual cases and the people involved and all that kind of thing can be very difficult,

0:02:51very tragic and very sad.

0:02:54But it's just like staying away from those types of areas and those types of things is

0:02:59one approach to take.

0:03:01And then two is just to accept it, mark it up as a business risk and kind of go with

0:03:07it.

0:03:08And that's just kind of where you are.

0:03:10It's one of those things that there is no, that doesn't make me, it's never happy when

0:03:15these things happen.

0:03:16happen all the time, or more often enough

0:03:19that it certainly is a pervasive problem.

0:03:22But the reality is, app rejection is just part

0:03:26of having this kind of store experience.

0:03:29And that's, on the plus side, I think is why

0:03:31the app store is so successful, and there's a high degree

0:03:33of user trust and those types of things.

0:03:36You know, and you can get into, like in this case,

0:03:38I think one of the policies is about creating

0:03:40alternate app store experiences and about

0:03:43incentivizing downloads and those types of things.

0:03:48The goal is to make sure that the charts

0:03:51and the store ranking and things are reflective

0:03:53of the actual genuine user interest in applications

0:03:57rather than in just who can write the biggest check,

0:04:02which I think is a good thing.

0:04:07The exact implementation, complicated.

0:04:08But the goal and the spirit behind it, I think, makes sense.

0:04:08And so that's kind of where I come down on those types of things.

0:04:11But I just wanted to sort of put that out there.

0:04:15Next thing I wanted to talk about is something more architectural, switching to much more

0:04:19technical.

0:04:20But it was something that I've been working on a lot in feed wrangler that I thought would

0:04:22be an interesting thing to share, is an approach to building things that I found to be very,

0:04:27very good in terms of performance and structure and sort of reliability maybe is the best

0:04:36way to think about it.

0:04:37And it's the ability to make your application as much as you can into discrete operations

0:04:44that are rerunnable.

0:04:47And this is something that I've been doing for a lot of, I feel there's a lot of operations

0:04:51and things in feed wrangler where this is the case.

0:04:54And as an example of something like this, it's rather than, for example, in feed wrangler

0:04:57when you mark something as red, I could just make the server request to do that.

0:05:01I could just say, you know, whatever, you know, call feed wrangler.net and say, you

0:05:05know, mark as red.

0:05:06And I can do it in a direct call based on,

0:05:09you know, kicked off when the user hits that button.

0:05:12However, if I do that, it creates all these kind

0:05:14of problems and challenges down the road.

0:05:16What if that request times out?

0:05:18If there's a network connectivity problem?

0:05:20If they go into a tunnel and it doesn't get through?

0:05:22Now you have this weird state of how do you show that

0:05:24to your user in a way that is,

0:05:26that A, is reasonable and useful to them.

0:05:30So obviously, if there's an error that happens,

0:05:33maybe that error is actually only gonna happen

0:05:3530 seconds down the road.

0:05:36And the users moved on.

0:05:37The users started doing other things in the application.

0:05:40And all of a sudden, you pop up a message saying, failed.

0:05:42It's like, couldn't connect to server.

0:05:43It's like, that could be totally unrelated.

0:05:45And the server connectivity could actually be back now.

0:05:48And so what I tend to do, what I've been heading towards,

0:05:51is to structure most of my-- as much as I can in my application

0:05:54on more of a queue basis.

0:05:56And that's a queue, you know, Q-U-E-U-E.

0:05:59That what I want to do is make it

0:06:02so that I can just kind of rerun these operations.

0:06:04So I had to sort of destruction my application in that way.

0:06:07And so instead of doing that, when I have this read request,

0:06:11I make an operation.

0:06:12I put it on a queue, and then I try and run it.

0:06:15And it tries to get the server.

0:06:16If it doesn't work, then I'll try it again

0:06:19at various timeouts and things.

0:06:22And obviously, there's a lot of nuance

0:06:23to getting that exactly right.

0:06:25But in general, what I found is that makes

0:06:26my app much more reliable and much more simple in many ways

0:06:29to build, because I don't have to deal with quite as many error

0:06:33cases.

0:06:33There are still certain cases that you need to deal with and show user feedback and things.

0:06:37You know, if there's just no connectivity and they're trying to do a lot of stuff, it's

0:06:40like you need to show them something probably.

0:06:42But generally speaking, it sort of is the app will kind of naturally work itself into

0:06:47a state that is correct over time rather than having sort of constantly badgering the user

0:06:53about that.

0:06:54And so it's just something that I've been doing a lot.

0:06:55And I do the same thing a lot on my website and on the web services side of it as well,

0:07:00which I think I mentioned before.

0:07:01but it works really well there, where rather than,

0:07:04for example, when I'm going out and doing feed parsing

0:07:07and feed aggregation, I'm running out my spiders

0:07:09and they're going off and they're pulling in all,

0:07:11you know, filling in thousands of feeds

0:07:12and parsing them and processing them.

0:07:14Each one of those requests to pull a feed

0:07:18is created as its own distinct operation,

0:07:20put in a queue, and then run.

0:07:22And that means, if anything goes weird with it,

0:07:24if anything gets stuck, it doesn't affect anybody else.

0:07:27They all kind of go their natural way.

0:07:29and if it fails, it can just be put back onto the queue

0:07:32to be retried if I want or not.

0:07:34And I found that that works really well

0:07:36for reliability, for scaling.

0:07:38And another great thing about queuing

0:07:40is an approach and a structure.

0:07:42Because all the operations are atomic,

0:07:44you're designing your app to be parallelizable,

0:07:46which is great, both on the server side and on the device,

0:07:50that if you focus on making it parallelizable,

0:07:53your performance can go up a lot.

0:07:55So for example, with my making network requests,

0:08:02these atomic operations that can be run essentially

0:08:04in any order, as much as I-- to some approximation,

0:08:07I can go and run three of them at a time.

0:08:09And that's OK, because of the way that it's structured.

0:08:12They're not dependent on each other.

0:08:13They're not queuing up.

0:08:15You can make things a lot more performant that way.

0:08:18Next thing I wanted to talk about is something

0:08:20that I've been struggling with a little bit in feed wrangler

0:08:22that I thought was an interesting question.

0:08:25And this is understanding perfection or understanding,

0:08:29do you need to ship something perfect, wonderful, exactly

0:08:34what you want it to be?

0:08:36Or is it more important to ship?

0:08:38And this is a complicated question.

0:08:39This is something that I've been really wrestling with recently.

0:08:42I think I mentioned in the last episode

0:08:43that I'm trying to ship the iOS version of Feed Wrangler today.

0:08:46It's Friday, and I'm trying to get it out

0:08:48by the end of the week.

0:08:49And that's entirely an artificial timeline

0:08:51and pressure that I'm putting on myself.

0:08:54And the goal of that, obviously, is like,

0:08:55feed wrangler is kind of a unique situation

0:08:57where it's specifically trying to target a market that

0:09:01is time limited.

0:09:03On July 1st, Google Reader is going to go away.

0:09:06And so I'm trying to create a replacement for that,

0:09:10unintentionally in some ways.

0:09:11But the reality is I'm creating something

0:09:14that will be a replacement for that for many people.

0:09:16And so I want to get that out in enough time

0:09:19to kind of make that migration.

0:09:20And so I'm kind of putting myself

0:09:21under somewhat of an artificial constraint to do that.

0:09:25But it's a challenging thing to understand

0:09:29what's good enough and where do you draw those lines?

0:09:31Where do you decide?

0:09:34And generally what I've been trying to do is

0:09:35I'm taking the approach that,

0:09:38I have a couple of parameters.

0:09:39One, I don't ever really like the concept

0:09:41of charging people money for anything

0:09:44that I would label as beta software.

0:09:46And I've seen this happen a couple of times.

0:09:47You kind of hear people ship things,

0:09:49it's like, oh, it's still in beta.

0:09:50It always feels weird to me if you're charging for that,

0:09:52because in my mind anyway, what beta means is

0:09:54I know it's broken in some way.

0:09:58And if I know it's broken in a way that's enough

0:10:01that I'm really kind of calling it a beta,

0:10:02that feels a little funny to then take money for that.

0:10:04And so what I'd rather do is scale the application down

0:10:09to a point that it's, I would say it's production ready,

0:10:13charge for that, and then grow it out.

0:10:15And that's generally, I think, the approach

0:10:16that I've been taking with FeedWrangler,

0:10:18and I think it generally works,

0:10:19that rather than worrying about having,

0:10:21I have this long list of features and things

0:10:23that I'm working on and things that will come down the road,

0:10:25or approaches or things that I can do

0:10:27that will just come naturally down the road.

0:10:31And I'm thinking rather than being too focused

0:10:33on making sure they're all in there before I ship,

0:10:35I'm saying, okay, I'm going to narrow that down,

0:10:38polish, refine as much as I can,

0:10:40make it really reliable, solid, and then ship that.

0:10:43And know that I've got a lot of good fodder for 1.1, 1.2, 1.3.

0:10:49And this is something I didn't check the weather that I think was really well received, where

0:10:52if you get into this habit of, you know, once you've launched an app to ship updates pretty

0:10:56quickly, I think it builds a lot of trust and endearment from your users, because it

0:11:01feels like you're really engaged and you're really responsive to what they're saying,

0:11:04to the problems they're having, and to fixing those things.

0:11:07So that's kind of what I'm doing.

0:11:08It's sort of like, rather than going big, I'm just trying to ship a solid kernel that

0:11:14works exactly how I want it.

0:11:17and then I'll add in some more bells and whistles

0:11:19based on what users want.

0:11:21And that also speaks to a little bit of the problem of

0:11:23whenever you ship something,

0:11:26no matter how many beta feedback you get,

0:11:29your customers are gonna use your application

0:11:31in ways that you never expected or imagined.

0:11:33And that's a good thing.

0:11:34It can create opportunities and drive it in directions

0:11:37that you may not necessarily have expected,

0:11:39and that can often be really, really helpful

0:11:41for deriving the product.

0:11:42And so you can end up spending time on features

0:11:44that no one will use.

0:11:45Or, on the flip side, alternatively better,

0:11:48to spend that time polishing things that you think,

0:11:51that you know people will use that are core functionality,

0:11:54and then building the extra things

0:11:55based on what people really want,

0:11:56what are the needs people have.

0:11:58And then when you give it to them, people feel great,

0:12:00because they feel like they just got a bonus,

0:12:01that they got something in addition,

0:12:02it's like they bought X and they just got X plus Y,

0:12:05which is kinda cool.

0:12:07All right, and the last thing I wanted to talk about

0:12:09is just a quick mention of some changes that Linode did.

0:12:12This week, I think I've mentioned many times,

0:12:14I'm a big Linode fan,

0:12:15where I host almost all my stuff.

0:12:17And it's kind of fascinating to me

0:12:18how web services just continues the march towards cheaper

0:12:23and better, just keeps going.

0:12:25And it's kind of remarkable to me,

0:12:27where I was looking at it this week.

0:12:29They've done this whole series of different upgrades

0:12:31and changes to their servers.

0:12:33And the most recent one they announced

0:12:35is that they're changing the way that-- their memory pricing,

0:12:37basically.

0:12:38And they doubled the memory for the same price,

0:12:41essentially, for all of their machines,

0:12:44that you can rent.

0:12:46And the kind of crazy part for that for me

0:12:48is that essentially what they did is in one blog post,

0:12:52they halved my hosting costs for almost all of what I do.

0:12:56For example, right now my recipe book is about $300 a month

0:13:00is what I pay for the service that I have there.

0:13:02And it'll go to $160 after I migrate over

0:13:05to the new structure because for me, the majority of what I do

0:13:08is memory bound rather than CPU, network, bandwidth, storage,

0:13:12those types of binds.

0:13:13And so if they were giving double the memory

0:13:16for the same price, for almost all my things,

0:13:20I can just bump down one tier, migrate over to that,

0:13:23and have exactly the same machine that works perfectly

0:13:25and does exactly what I want, but for half the cost.

0:13:28Obviously, for some people, it would make sense.

0:13:30They'd rather just have twice the memory,

0:13:31and that'd be great.

0:13:33But for what I do, most of it, the memory

0:13:35is the limiting factor, but it's in a way

0:13:37that I want to still have multiple machines.

0:13:39So the limiting factor for the number of requests

0:13:42that a lot of my web services can handle

0:13:45is fairly memory oriented for a lot of what I do,

0:13:48but I still want to have multiple machines for redundancy

0:13:50and for latency and those types of things.

0:13:52So it's just kind of one of those fascinating things

0:13:54how web services are just more and more

0:13:57heading in that direction.

0:13:58And it creates this delightful pressure and competitiveness

0:14:02among hosting providers that I just think is really cool.

0:14:04So anyway, that's it for today's show.

0:14:06Hopefully I'll be shipping Feed Wrangler this afternoon.

0:14:08So wish me luck for that.

0:14:10And hopefully, again, launching probably in about two weeks.

0:14:14So I'm looking forward to that, and I'll

0:14:15have a lot to say on the show.

0:14:17If you have any comments, just let me know on Twitter.

0:14:19Underscore David Smith there.

0:14:20On AppNet, I'm David Smith.

0:14:22And otherwise, have a great weekend.

0:14:23Happy coding, and I will talk to you later.