Re:Upgrading GitHub to Rails 3 with Zero Downtime
by kevinsf90 on Tuesday September 16, 2014 @12:07AM
(#8322974)
For a large codebase, these upgrades will be a pain, especially on ruby/rails. To scale in the long run, it'd probably be wise to modularize & split the codebase into microservices, and at the same time, port to, say, a scala or java based framework (like Play).
[ Parent
| on HN ]
Re:Upgrading GitHub to Rails 3 with Zero Downtime
by lucaspiller on Tuesday September 16, 2014 @12:44AM
(#8323051)
I'd be interested in hearing a bit more about how GitHub structure their app. From the sounds of it, they have one big monolithic app. Running the tests can't be pretty on that...
Re:Upgrading GitHub to Rails 3 with Zero Downtime
by holman on Tuesday September 16, 2014 @01:16AM
(#8323170)
Yup; one monolithic app. Tests run in a tad over two minutes.
Re:Upgrading GitHub to Rails 3 with Zero Downtime
by nathan_f77 on Tuesday September 16, 2014 @03:55AM
(#8323479)
That is insanely fast, for what must be an enormous codebase. Do you mean it runs in two minutes on your Mac, or on distributed CI servers?
Re:Upgrading GitHub to Rails 3 with Zero Downtime
by charliesome on Tuesday September 16, 2014 @09:54AM
(#8324459)
We use the test-queue gem (https://github.com/tmm1/test-queue) to run our test suite in parallel across 10x 8 core machines.
Re:Upgrading GitHub to Rails 3 with Zero Downtime
by nathan_f77 on Tuesday September 16, 2014 @12:59PM
(#8325492)
That's awesome! We were using parallel_tests, but we just bought a second test server. I was looking into Kochiku from Square, but that gem looks perfect. Thanks!
Re:Upgrading GitHub to Rails 3 with Zero Downtime
by VeejayRampay on Tuesday September 16, 2014 @03:04AM
(#8323381)
Two minutes is actually pretty fast for such a large app. Well done. And congratulations on the migration.
Re:Upgrading GitHub to Rails 3 with Zero Downtime
by imjoshholloway on Tuesday September 16, 2014 @03:53AM
(#8323475)
What's the coverage on that?
Re:Upgrading GitHub to Rails 3 with Zero Downtime
by matthewmacleod on Tuesday September 16, 2014 @04:14AM
(#8323513)
Why do you think that Scala or Java will help to reduce upgrade cost?