this post was submitted on 02 Sep 2024
96 points (94.4% liked)

Asklemmy

43770 readers
1379 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy 🔍

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS
 

Please just provide a short, medium or long story

you are viewing a single comment's thread
view the rest of the comments
[–] linearchaos@lemmy.world 79 points 2 months ago (2 children)

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@kbin.melroy.org 9 points 2 months ago (1 children)

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

[–] linearchaos@lemmy.world 12 points 2 months ago* (last edited 2 months 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.