Stories
Slash Boxes
Comments

SoylentNews is people

posted by martyb on Sunday July 12 2020, @03:48AM   Printer-friendly

Facebook code change caused outage for Spotify, Pinterest and Waze apps – TechCrunch:

If you're an iPhone user, odds are fairly good you spent a frustrating portion of the morning attempting to reopen apps. I know my morning walk was dampened by the inability to fire up Spotify. Plenty of other users reported similar issues with a number of apps, including Pinterest and Waze.

The issue has since been resolved, with Facebook noting that the problem rests firmly on its shoulders. A log page notes a sudden spike in errors stemming from Facebook's iOS SDK, dating back several hours.

[...] "Earlier today, a code change triggered crashes for some iOS apps using the Facebook SDK," the developer team writes. "We identified the issue quickly and resolved it. We apologize for any inconvenience."

[...] After the second major issue in recent memory, it's easy to imagine many reconsidering their relationship with the social network — after all, a bad experience can put people off an app entirely, as social media debates around Apple Music versus Spotify appeared to point to this morning. Many users will ultimately place the blame at the feet of a given app, rather than a third-party SDK that caused the crash.

A detailed timeline and very readable analysis of what happened is available at Bugsnag:

Some key takeaways

  1. Now the issue is, this absolutely should not crash an application. One of the tenets of good SDK design is that SDKs SHOULD NEVER CRASH THE APP.
  2. Defensive programming, and better handling of malformed data from the server could have meant that instead of crashing the application, the facebook initialization could have just been skipped, or better still, fall back to some kind of default settings if the server responds with junk data.
  3. Additionally, by having some kind of API data validation in place, this situation could have been avoided entirely. Services like Runscope offer this.

See, also: Robustness Principle.


Original Submission

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 2) by jmichaelhudsondotnet on Sunday July 12 2020, @04:23PM

    by jmichaelhudsondotnet (8122) on Sunday July 12 2020, @04:23PM (#1019881) Journal

    functioning link: https://archive.is/UUt9W [archive.is]

    sorry about that.

    network effect sounds, and feels, a lot to me like the lemming effect, or stampede effect. You have ever reason not to trust these people, but you have this overwhelming feeling that you should not care about that and do what everyone else is doing, and you are consciously afraid of being the one to have to raise a concern, or be the one without their status symbol/pacifier/suckertoy

    For me the switch from "i dont want to be on camera all the time" to "i have a god given right to point my cell phone camera at you 3 inches from your face in the bus" happened overnight, and I will never understand how.

    Starting Score:    1  point
    Karma-Bonus Modifier   +1  

    Total Score:   2