How Airbnb Scaled by Moving Away from a Rails Monolith
engineercodex.substack.com
engineercodex.substack.com
A monolithic codebase doesn't have to be deployed as a single artifact to be a single point of failure.
There's nothing stopping you from deploying a monolith application across a distributed number of machines in a highly available manner, including making machines favour some types of work (e.g. web workers and background job workers). Nor is there anything stopping you from performing blue-green deployments or A/B testing if you want to interpret single point of failure as a bug is deployed to all machines simultaneously and affects your entire application.
FTA it sounds that it wasnt he language of framework that was an issue, but rather the monolith model.
They famously and stupidly blamed Ruby and everyone ate their blogpost up because this industry is full of cargo cult behavior patterns. Everyone acts like lemmings and just assumes BigCo knows better than they do.
"Twitter moved off rails and I was always really curious about that story. Here's a testimony from someone who actually worked at Twitter when they moved off. Yeah they moved off because they had a badly designed Rails app, that happens. Okay and then they moved into what they thought was better a constellation of java microservices and then nothing fucking happened for 10 years. They poured concrete over the application and hired thousands of people to make no progress at all."
You can watch the whole talk here, the quote starts around the 15 min mark:
All the talks are being released in the next week or so, you should take a look when it's out, it was very interesting.
It references a RailsConf 2022 talk where they chatted about handling a billion requests a day with mostly a Rails monolith. The author of the talk ended up commenting in that thread mentioning it's closer to 2 billion, all of which hit the application (these aren't CDN cache hits).
Tens of millions RPMs is the baseline and there’s massive, massive spikes for Black Friday or high profile events
It’s not Facebook/Google/Netflix traffic but it’s up there. Language is very rarely the bottleneck that people think it is