News for hackers. Stuff that matters.
Re:Ask HN: What Linux distro for a Rails app that needs to s... by tptacek on Monday April 13, 2009 @12:42AM (#559392)
If you're scaling horizontally, is 64 bit a win? It eats up memory in Ruby processes. We switched our app (which does not need to scale; it's shrinkwrap) to 32 bit Ubuntu and that was a win for us.

(Gentoo? Blech. -funroll-loops.)

Re:Ask HN: What Linux distro for a Rails app that needs to s... by SwellJoe on Monday April 13, 2009 @02:27AM (#559494)
We've noticed that several VPS providers are only offering 64-bit OS installs...which makes no sense. I kinda suspect it is simply a way to force people to pay for more memory down the road. The memory usage of dynamic languages (Ruby included) is dramatically higher in 64 bit builds...more than 50% in many cases.

If you don't have more than 4GB of RAM, it makes absolutely no sense to have a 64 bit OS install.

Re:Ask HN: What Linux distro for a Rails app that needs to s... by charlesju on Monday April 13, 2009 @03:41AM (#559543)
Depends on the app I guess, we do a lot of large number computations that surpass the 32-bit limit, so I think for our specific case a 64-bit distro is much better.