Julian Leviston wrote:
Dude!
I've had to deploy apps in LOADS of different ways, across many
different languages. (C++ / CORBA / SmallTalk / Java / WebObjects /
PHP / Rails / Merb / Other)
How to start deploying a PHP app:
simple as drag 'n drop in FTP.
This makes it EASIER.
And Java Appserver work similarly. Except it's one file, in one
directory, and scalability depending on how much hardware you throw at it.
Where as PHP and other languages need solutions with proxying, etc.
That's ALL I'm saying. It's not that EASY in Rails. We know this. I'm
not advocating any of the other frameworks or languages, or anything.
No need to get defensive. Deployment via JRuby is one option among many,
and simpler than setting up a Mongrel cluster, IMO (and less chance of
failure, too, since that risk rises exponentially to the elements used).
You come from a Java background, fair enough, but setting up a Java
environment to host in is not a particularly trivial affair. It's less
trivial than a cluster of mongrels on apache with mod proxy and
balancer.
Not at all am I coming from a Java background (and proud of it :P). But
I'm willing to look at what is available there, and tap into the
knowledge that is available in that area.
And that is higher than the knowledge available in regard to Mongrel and
Apache, LigHTTPd, or other webservers.
And infrastructure-wise, Java is miles ahead of anyone. That's a serious
benefit of its deployment across a wide range of businesses, and most in
Enterprises with a Big E (defined for this purpose as corporations that
don't have software as a core business, but as a support function for
the actual core business. Banks, grocers, etc.).
And fortunately, it is relatively easy to get Java and Glassfish
installed on most Linux flavors and Mac OS X (X Server): Download
packages, untar them, run the installers (adjust file permissions if
necessary). However, with more, er, exotic UNICES it *does* get tricky.
Another benefit is, that Java application servers scale almost
automatically. Not so a more traditional Rails approach of deploying an
Apache + Mongrel cluster.
And anything that makes my life easier is worth consideration, IMO.
But so would be another deployment option.
In any case: Proper Planning Prevents Punishable Poor Performance.
- --
Phillip Gawlowski
Twitter: twitter.com/cynicalryan
~ Hobbes : How is the diorama coming along?
~ Calvin : I'm almost finished.
~ Hobbes : I don't see the roadrunner. Weren't you going to put one in?
~ Calvin : See the cotton balls I glued down?
~ Hobbes : Yeah?
~ Calvin : The roadrunner just ran out of the scene leaving behind
clouds of dust!