I built my startup 4 years ago with a combination of react + aws + gatsby + hasura. I thought this would be great for performance and scale. Fast forward to today, I spend at least 2x as much time to code a feature than if I had just stuck with a simple rails stack, and the scale I imagined never happened. Now rebuilding everything with rails so I can ship faster and focus on growing the product, not making engineeri…
Building for scale from day 0 is a recipe for disaster. You should've seen that coming.
Building GitHub with Ruby on Rails
161–170 of 332 posts
Re: Building GitHub with Ruby on Rails
#162That's awesome. Not only fixing it for your team but the entire rails world.
Re: Building GitHub with Ruby on Rails
#163Earlier quoted context omitted.
Building for scale from day 0 is a recipe for disaster. You should've seen that coming.
You suggest people should refactor later on when needed?
Re: Building GitHub with Ruby on Rails
#164Even as a much smaller team, building Heii On-Call [0] as a lightweight alerting/monitoring/on-call rotations SaaS based on Ruby on Rails has basically been a pleasure! And as the article highlights, perhaps the key reason for smooth deployments and upgrades is that the CI testing story is so, so good: RSpec [1] plus Capybara [2] for us. That means we have decently extensive tests of just about all behavior. The few…
Crystal looks great, are you using it mainly for type checking? If so why not Sorbet?
Re: Building GitHub with Ruby on Rails
#165Github is one of the few webapps where I can feel daily that the framework used isn't enough. So many things get out of sync/not up to date, which are fixed by refreshing the page.
Re: Building GitHub with Ruby on Rails
#166Are there other languages where the dominant web framework changes so much? Will Rails ever be "done"?
And those changes are the reason rails is still really good, modern, and not considered legacy software almost 20 years later
Re: Building GitHub with Ruby on Rails
#167I built my startup 4 years ago with a combination of react + aws + gatsby + hasura. I thought this would be great for performance and scale. Fast forward to today, I spend at least 2x as much time to code a feature than if I had just stuck with a simple rails stack, and the scale I imagined never happened. Now rebuilding everything with rails so I can ship faster and focus on growing the product, not making engineeri…
doubling down on premature optimization and chasing the new hotness with a ground-up rebuild... I hope that works out.
Re: Building GitHub with Ruby on Rails
#168> Every Monday a scheduled GitHub Action workflow triggers an automated pull request, which bumps our Rails version to the latest commit on the Rails main branch for that day. That’s a bold move to do as opposed to being end of week or weekend.
Re: Building GitHub with Ruby on Rails
#169GitHub running off the main branch is fascinating, and initially sounds mad, but makes so much sense. Assuming they have very high test coverage, running against mainline Rails isn't really any different to having the fork they had before, but they have more influence on future development. It must also be a massive boon for the Rails ecosystem to have such a large property running off the head. Doesn't anyone know o…
> “It must also be a massive boon for the Rails ecosystem to have such a large property running off the head.” I would have expected Microsoft to focus on developer efforts into speeding up Ruby as a language given they are one of a small few large companies that have deep language/compiler expertise.
Re: Building GitHub with Ruby on Rails
#170Earlier quoted context omitted.
Building for scale from day 0 is a recipe for disaster. You should've seen that coming.
You suggest people should refactor later on when needed?