News for hackers. Stuff that matters.
Re:Ask HN: What Linux distro for a Rails app that needs to s... by charlesju on Sunday April 12, 2009 @10:14PM (#559272)
The Linux distribution isn't the big bottleneck, but yes, I'd probably go with the 64-bit Ubuntu Server.

I think Engine Yard, which is where I'm hosting right now, uses Gentoo, it seems to work fine.

Re:Ask HN: What Linux distro for a Rails app that needs to s... by shizcakes on Sunday April 12, 2009 @11:18PM (#559320)
Note about the distribution not being the big bottleneck: This is exactly right.

On the other hand, if you use a distribution that somehow 'benchmarks' marginally better but you don't know how to configure it or deal with it properly, you'll end up losing any performance gains you otherwise would have had. Better to deal with a distribution that works the way you do (Which is why a lot of people like CentOS or Ubuntu Server) than end up making a major mistake somewhere because you are in unfamiliar territory.

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.