243 points · by Terretta · 5y ago · 169 comments
Even though it’s a well documented issue with Postgres and you have an experienced team keeping an eye on it, a new write pattern could accelerate things into the danger zone quite quickly. At Notion we had a scary close call with this about a year ago that lead to us splitting a production DB over the weekend to avoid hard downtime.
Whatever the issue is, I’m wishing the engineers working on it all the best.
Speculation is a useful intellectual exercise, and the sign of a healthy, intelligent and curious mind!
Speculation is also fun!
Quite surprising a seemingly battle-tested database can choke in such a manner.
Most postgres databases wrap around with no issues.
The problem with increasing the size is a pair of xids are needed for every row, so you're doubling that if you go to 64 bits.
Even if we assume your premise that vacuum is at least as bad as the GIL is correct, this would easily explain it.
Add in the sheer difference in expectations between a programming language and a database... and well, I don't think there's any mystery here at all. There's easily multiple great explanations, even if your premise is correct.
Because it's better than the alternatives? What would you suggest?
CockroachDB is an example of what a modern database should be like.
I think throwing together a static page better than "we're making the game more awesome" would be simple. It kinda makes me wonder if it's an internal auth/secret issue as has been speculated. That could theoretically make it harder to update the website, especially if it's deployed by CI/CD.
I don't know how MySQL or MariaDB handles this; AFAIK it doesn't have this issue.
Would then posting every 2h "still working on it" really made it better?
There are companies that rely on Roblox for hosting their games so they can make money. This is the equivalent of cloud hosting going down.
My heart goes out to the Devs in this category, but hopefully this is further impetus not to stake too much on tech services.
How much revenue would they have missed out on during this time? And how much will it affect their longer term growth?
If I were a Roblox shareholder, I would be pretty annoyed by the silence.
It's also a $50bn company, with thousands of shareholders and businesses that rely on their platform.
[1]: https://en.wikipedia.org/wiki/Agar.io
[2]: "Around 2015 a multiplayer game, Agar.io, spawned many other games with a similar playstyle and .io domain". See https://en.wikipedia.org/wiki/.io
"STATUS UPDATE: Roblox is incrementally opening the website to groups of users and will continue to open up to more over the course of the day..."
- Perhaps internal systems they've developed, and the people who created them left. So it's not just fix the thing, but first understand what the thing is doing and then fix it. - Data recovery can take forever if you run into edge cases with your databases
Anyone found any articles about their architecture?
> 4 SREs managing Nomad, Consul, and Vault for 11,000+ nodes across 22 clusters, serving 420+ internal developers
> "We have people who are first-time system administrators deploying applications, building containers, maintaining Nomad. There is a guy on our team who worked in the IT help desk for eight years — just today he upgraded an entire cluster himself."
> A core system in our infrastructure became overwhelmed, prompted by a subtle bug in our backend service communications while under heavy load. This was not due to any peak in external traffic or any particular experience. Rather the failure was caused by the growth in the number of servers in our datacenters. The result was that most services at Roblox were unable to effectively communicate and deploy.
If they were to resume the game before restoring these issues, they would only exacerbate with state moving even further from where it was originally.
Or is this the highscore?
https://darknetdiaries.com/transcript/30/ "Shamoon" (the epsiode about this, which says it depends on the previous two episodes)
https://darknetdiaries.com/transcript/28/ "Unit 8200"
https://www.i-cio.com/management/insight/item/maersk-springi...
https://en.wikipedia.org/wiki/2011_PlayStation_Network_outag...
But I don't think they ever went down for two days?
But certainly Twitter were notorious for regular outages!
But if the organization is functional, in the medium term, this may also mean staffing understaffed teams, hiring SREs, etc. - which can mean less stress, no more 24/7 pager duty, better pay etc.
When something like this threatens to end the entire party (no one pays or get paid) you god damn want to figure out why and not make it happen again. That’s not burdensome, that’s business.
This is the burdensome part.
Perhaps (though IMHO not that likely) it may be some other kind of attack e.g. one intended to secretly steal customer data, which does not give signs of external intrusion if the company doesn't look for them much (and it might have motivation to not look very hard), but if it was ransomware, I'm quite sure they would not say what they said.
So while it's always a possibility, it's also kinda pointless to wonder about until there's supporting evidence.
I know they said they weren't hacked but they were hacked.
or
They are completely inept and have no disaster recovery plan in place, etc.
Best to them.
https://portworx.com/blog/architects-corner-roblox-runs-plat...