News for hackers. Stuff that matters.
Re:I Miss Rails by hw on Thursday March 28, 2019 @07:51PM (#19517816)
I believe Shopify is built on Rails and is (or was) a Rails monolith. It's worked well for them.
Re:I Miss Rails by inapis on Thursday March 28, 2019 @07:59PM (#19517871)
Shopify, Github, Gitlab are all built on rails. Even Twitter was on rails in its early days.
Re:I Miss Rails by keypusher on Friday March 29, 2019 @01:28AM (#19519380)
Airbnb, Kickstarter, Twitch, GoodReads, Bloomberg, there is quite a list of companies who still run a significant amount of their site through Rails. Over time I imagine that particular bottlenecks and performance critical pieces have been pulled out into other languages and services as necessary, but I certainly wouldn't feel bad about it if I was developing or maintaing a Rails site today. It's significantly better than PHP, and a hell of a lot of sites are still run on that. The reality is that if you really need to scale, your primary bottleneck will probably be the datastore, not the frontend.
Re:I Miss Rails by xvilka on Thursday March 28, 2019 @09:07PM (#19518269)
GitLab rewrote some parts in Go, because Ruby was too slow on a big scale.
Re:I Miss Rails by stock_toaster on Thursday March 28, 2019 @09:32PM (#19518394)
So “use rails until you raise a C round?” heh
Re:I Miss Rails by rohan404 on Thursday March 28, 2019 @11:11PM (#19518840)
I'd say it's more use Rails for all of your standard CRUD operations and then use Go as a module in Rails using Quartz/FFI if you have any algorithms that need to be high performance. Of course you could always go down the microservice route and spin up a Python/Go service for your more intensive data processing modules.
Re:I Miss Rails by sytse on Thursday March 28, 2019 @11:39PM (#19518980)
Exactly, we use Rails for most of the functionality and Go for the functionality that gets used most.

Start with Rails and optimize in Go for the services that get expensive to run in Rails, like https://gitlab.com/gitlab-org/gitaly

Re:I Miss Rails by jimbokun on Friday March 29, 2019 @10:43AM (#19522088)
I don't have any serious comment, but love "gitaly" as a project name.
Re:I Miss Rails by knodi123 on Thursday March 28, 2019 @10:43PM (#19518706)
if that was a pun on the C language, then I officially groan
Re:I Miss Rails by jfaat on Thursday March 28, 2019 @08:53PM (#19518181)
Twitter is more of a counterexample I think
Re:I Miss Rails by joesb on Friday March 29, 2019 @12:47AM (#19519220)
Twitter using Rails to grow to the point where Rails became the problem was actually Rails's selling point. If you ever grow to the point where Rails is your problem, then you have money to solve that problem. But if Twitter hasn't used Rails, they might not event get to the point where their product is out the door.
Re:I Miss Rails by kentt on Friday March 29, 2019 @01:03PM (#19523472)
It's absolutely correct to say Twitter blamed their issues on Rails. It's less likely to be correct that they wouldn't need a similar major change if they had started with anything else and grew from an MVP to one of the busiest sites in the world. I personally find it doubtful that they couldn't have done it with Rails.
Re:I Miss Rails by Cenk on Friday March 29, 2019 @09:17AM (#19521356)
Stripe too