Skip to main content

Developer warns iOS 7’s Background App Refresh increases server load dramatically, may be costly

With the introduction of iOS 7, developers gained access to a new feature often referred to as “Background App Refresh” or “Background Fetch” that allows apps to update data in the background periodically. Users can control which apps fetch for data in a new Settings pane and developers can control the frequency of updates to craft an ideal experience for their specific apps. The result is supposed to be a faster, always up-to-date experience for users, but one developer warns it could also have a significant increase on server costs.

Pod Wrangler developer David Smith posted the chart above showing a huge spike in API requests and server costs after implementing background refresh in his weather app:

My first example of this was when I added Background Fetch to Check the Weather. A weather app’s primary function is displaying up-to-the-minute, constantly changing data so in my initial iOS 7 update I experimented with adding highly frequent background updates. The result was far more dramatic than I’d expected. Here are my weather API requests (which cost 0.01¢ per request) per day once the update went live. I saw an immediate jump in traffic, roughly 16x normal. Suffice to say I immediately had to scale back on my requested update frequency.

Smith also took a look at some other popular podcasting apps after running into similar issues with background fetch in Pod Wrangler and offers tips for developers to get rid of unnecessary background downloads. The full article is here.

FTC: We use income earning auto affiliate links. More.

You’re reading 9to5Mac — experts who break news about Apple and its surrounding ecosystem, day after day. Be sure to check out our homepage for all the latest news, and follow 9to5Mac on Twitter, Facebook, and LinkedIn to stay in the loop. Don’t know where to start? Check out our exclusive stories, reviews, how-tos, and subscribe to our YouTube channel

Comments

  1. daving313 - 10 years ago

    No way. Refreshing something more often means an increase in activity on the server side? Call me suspicious. :-\

  2. Robert Nixon - 10 years ago

    Yeah, no shit. This isn’t news, Jordan, it’s common sense for any competent developer.

    • I could not agree more. Whenever you implement a new API, you have to test it. You have to estimate the effect based on the number of your customer base. You can’t just release something and then complain about the API. Makes no sense.

    • rogifan - 10 years ago

      Yes how is this news exactly?

  3. Of course it makes servers to work more. What else could you logically expect?

  4. andrewlechowicz - 10 years ago

    But he made a chart!

  5. Stephen (@MorningZ) - 10 years ago

    While the article is pretty much “no duh”, it does talk about things to do to help alleviate issues… the article has some value

Author

Avatar for Jordan Kahn Jordan Kahn

Jordan writes about all things Apple as Senior Editor of 9to5Mac, & contributes to 9to5Google, 9to5Toys, & Electrek.co. He also co-authors 9to5Mac’s Logic Pros series.