On Jul 22, 10:15 am, Chouser <[email protected]> wrote:
> Java and therefore Clojure does not play nicely in this
> niche as far as I can tell. Even if a service allows ssh
> access such that you can install a JVM, Clojure, etc. it's
> almost certain you will not be allowed to keep
> a long-running process going (which rules out simple Jetty
> solutions).
> ...
> So as far as I can tell, your best options for hosting
> a Clojure web app are still either to get FastCGI working or
> pay for a more expensive service: Java servlet container
> provider, private virtual machine, co-locate, or on up from
> there.
>
[$ ps -ef | grep java
cody 12139 12138 0 Jul07 pts/1 01:31:03 java -cp .:lib/*:/usr/
local/src/compojure/src
I've had a jetty instance running on slicehost for over 2 weeks now,
which was just the last time I happened to start it.
I dunno if $20 / month counts as expensive (it's less than I was
paying for hosting before), but I'm not sure you can even find
reliable shared hosting for the more usual suspects like Rails for
much less than $10.
Jetty / compojure has been pretty painless to get running, I'd rather
use routes than mess with mod_rewrite rules for instance. My instinct
is that a simple apache / lighttpd / whatever on port 80 to serve
static content and proxy back to jetty for anything else would be
plenty sufficient for most production needs (along with a real hosting
plan, but that's true of anything).
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---