Re:Ask HN: GitHub employees what's going on? Why?
by cbeach on Tuesday August 18, 2026 @05:00PM
(#49352638)
After their infamous "Fail Whale" outages, Twitter replaced its Ruby on Rails / MySQL stack with modern (at the time) technologies: Scala (functional language running on the JVM) / Finagle (RPC) / Thrift (framework) / Kafka (message queues) and this made Twitter stable under the load of several hundred million users.
Ruby is single-threaded, slow with poor GC and memory leaks. As Twitter's Alex Payne said publicly in 2008: "there shouldn't be doubt in anybody's mind that Ruby itself is slow" and that scaling Rails meant "just throw more instances at it"
Re:Ask HN: GitHub employees what's going on? Why?
by lab14 on Tuesday August 18, 2026 @05:29PM
(#49352972)
tell that to Shopify that handles 8.15 million requests per second and processes 5.1 million per minute in sales during Black Friday. You scale your architecture, not your programming language.
[dead]
Re:Ask HN: GitHub employees what's going on? Why?
by cbeach on Wednesday August 19, 2026 @07:13AM
(#49359939)
Ruby (language) on Rails (highly opinionated framework) is both a language and an architecture.
Re:Ask HN: GitHub employees what's going on? Why?
by springtimesun on Tuesday August 18, 2026 @11:59PM
(#49356566)
Current Rails and Co are miles away from where they used to be then, but even then my feeling was that maybe it was the skill/culture/dev ops at Twitter that was at least partly responsible for the fail whale. But I don’t have any insight as to what was actually going on inside before and after that transition.
Re:Ask HN: GitHub employees what's going on? Why?
by sosodev on Tuesday August 18, 2026 @05:59PM
(#49353330)
They didn't leave the architecture alone, right? They shoved React in and created a weird SSR + React frankenstein that is objectively worse in many ways.
Re:Ask HN: GitHub employees what's going on? Why?
by esperent on Wednesday August 19, 2026 @10:05AM
(#49361803)
React apps with SSR is standard these days.
Re:Ask HN: GitHub employees what's going on? Why?
by sosodev on Wednesday August 19, 2026 @11:15AM
(#49362737)
SSR that is javascript native, sure. This is still Ruby doing the rendering.
Re:Ask HN: GitHub employees what's going on? Why?
by esperent on Wednesday August 19, 2026 @12:12PM
(#49363499)
[delayed]
Re:Ask HN: GitHub employees what's going on? Why?
by sosodev on Wednesday August 19, 2026 @02:45PM
(#49365564)
Ruby can't render React code. JavaScript can. With GitHub it seems that they sometimes can do SSR for the React bits, but that must mean that they're invoking a JavaScript interpreter within the Ruby process. Which means they have the overhead of two runtimes and the jank that comes with the IPC between the two.
It's just pointless hacks on hacks. GitHub didn't need React on the frontend and any potential resource savings of client side rendering were lost when they realized they need to do SSR on that stuff too.
I've encountered so much frontend jank as they expanded that portion of the stack whereas it was always excellent when it was just Ruby SSR and minimal JS on the frontend.
Re:Ask HN: GitHub employees what's going on? Why?
by Zanfa on Wednesday August 19, 2026 @12:31PM
(#49363744)
Wish they spent some AI tokens on that abomination to fix at least some of the countless issues it has, because their human engineers definitely won’t.
Re:Ask HN: GitHub employees what's going on? Why?
by phailhaus on Wednesday August 19, 2026 @03:26PM
(#49366069)
And yet, the React/SSR infra has never gone down.
Re:Ask HN: GitHub employees what's going on? Why?
by tom1337 on Monday August 24, 2026 @10:39AM
(#49420453)
Well, maybe not completely down but the amount of navigation issues, screen flickers and unhydrated stylesheets I have everyday is not something I'd expect from such a product.
Re:Ask HN: GitHub employees what's going on? Why?
by dgellow on Tuesday August 18, 2026 @06:35PM
(#49353769)
This is the reason, at least what I know from people who worked there, the azure migration has been very painful as far as I’m aware
Re:Ask HN: GitHub employees what's going on? Why?
by 0-sodium on Wednesday August 19, 2026 @07:21AM
(#49360017)
yep this was the same with LinkedIn who killed the migration after massive massive costs ~ https://www.theregister.com/on-prem/2023/12/14/microsofts-li...
Eventually, though, they decided to migrate the whole thing to Azure. And they were far enough through that to be basically committed... when AI coding started hitting them with much higher workloads.
I personally think the reliability problems are more to do with the reliability of the Azure migration. But both factors are likely relevant.