Please just provide a short, medium or long story

  • @linearchaos
    link
    English
    8013 days ago

    Used to work for a gaming company that had a really big Facebook presence.

    When most companies launched a new game they would just launch the game connect to Facebook and call it a day.

    But when we launched a new game we would turn on cross-promotion and send millions of users to the new game day one.

    The problem is that Facebooks load balancers don’t scale quickly. And if you start sending millions of people to a game that just errors, it’s pretty bad for marketing.

    So we had a script that you would run for an hour before you went to launch a game that would start making hundreds then thousands than tens of thousands of connections to Facebook giving their load balancers time to scale.

    Well, I didn’t write the tool I was just given it and the documentation on it was kind of sparse at the time. I started with the value of 30,000. Weeeellll, turns out a sane value would have been 3-5 as it multiplied whatever input you gave it by 10K.

    My cluster made sweet love with their cluster, and Facebook went down for about 3 hours.

    Within a week they had some pretty decent changes to their new API limit subsystem.

    • Aatube
      link
      fedilink
      913 days ago

      Were you able to scale the thing after the changes? Did Facebook send an email to your company?

      • @linearchaos
        link
        English
        12
        edit-2
        12 days ago

        I didn’t hide it. I said hey, I oopsed that!

        We could still scale at a reasonable pace but they more or less made it unnecessary in about a month.