Nothing wrong with OpenBSD or any other reccomendations, really, but I’d
be more concerned with potential security holes in the httpd
configuration and the rails app itself than I would with OS-specific
Ultimately I’d say the choice of OS or distro should come down to what
the person responsible for securing and maintaining the machine is most
comfortable with. Someone experienced in locking down an iffy Linux
distro is probably going to end up with a more secure machine than they
initially would with a hardened BSD they’re unfamiliar with.
That said, I run FreeBSD and I’m happy as a clam since I replaced the
default ruby with the no-pthreads version, for which, yes, there is a
ready-to-go package in the ports tree.
(And incidentally, I had a much easier time configuring Rails for
production on Apache+FCGI than I had with Lighttpd+FCGI. On the great
httpd server question, I’d say if you’re comfortable with one and not
the other, once again, go with what you know.)
Kev J. wrote:
a production environment, so don’t worry about this too much.
I’d be more concerned with the security of the app, given that I’d pick
OpenBSD - you can’t argue with it’s track record, and (as far as I’m
aware), it’s performance should be similar to FreeBSD (perhaps a touch
slower). I’m struggling with evil RedHat at work right now, so I’d give
Linux a big thumbs down (not really, but RedHat AS 3 sucks, debian is
much better apt-get > rpms).
Solaris (OpenSolaris) might be an interesting choice. If you are
thinking of buying the hardware too (not just installing some *nix on
generic hardware), then Solaris 10 + T1 hardware could be a very
powerful setup - given that Rails is mainly about serving content as
opposed to heavy-lifting (massive distributed transactions etc - ie the
crap that WebLogic/WebSphere/JBoss try to convince you you need), the T1
might be a good fit - can’t argue with 32 hardware threads
In fact has anyone tried rails on a T1 yet - that would be a good test