this post was submitted on 02 Sep 2024
97 points (94.5% liked)
Asklemmy
43945 readers
1028 users here now
A loosely moderated place to ask open-ended questions
If your post meets the following criteria, it's welcome here!
- Open-ended question
- 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.
- Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
- Not ad nauseam inducing: please make sure it is a question that would be new to most members
- An actual topic of discussion
Looking for support?
Looking for a community?
- Lemmyverse: community search
- sub.rehab: maps old subreddits to fediverse options, marks official as such
- !lemmy411@lemmy.ca: a community for finding communities
~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.
Were you able to scale the thing after the changes? Did Facebook send an email to your company?
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.
Oof