Maybe this is a dumb question, but why would one want to use a front-end
proxy server like nginx or Apache for GlassFish? Isn’t GF already
multithreaded and has the ability to start multiple Rails instances at
one
time? What would you be gaining with nginx? I thought the benefits of
using JRuby and GF was to get away with a more complicated proxied
server
setup?
Joe
On Thu, Apr 30, 2009 at 10:24 AM, Charles Oliver N. <
Charlie summed it well on why you want to proxy but this is not you need
in
all the cases. You can always start as many jruby runtimes as your
hradware
can take.
The classic question, and there’s a simple answer: it’s easier to proxy
if you already have Apache or nginx set up for other purposes. If you
can accept just running GF gem and nothing else, it ought to work great
too, but this makes it easier to have one or several GF gem-hosted apps
in a heterogeneous environment based on Apache or nginx as the
integration point.