This is probably outside the scope of what Lein and Clojure do, but it's a
well-studied problem for JVM apps.
AWS itself has a variety of solutions, such as Elastic Beanstalk and Cloud
Formation.
At the OS-level, there's monit and its kin.
-S
--
You received this message because you are subs
On Wed, May 16, 2012 at 3:13 AM, Murtaza Husain
wrote:
> Is there a lein plugin which can
> monitor and restart the app if it is down ( such as nodejs's forever) ?
I just noticed this part of your question.
In your context (EC2) it should be exceedingly simple do write a bash
script that would d
Tim thanks for the link, I will give it a go.
Kyle appreciate the detailed explanation, yes will try to put in practice
through ELB, but I am not sure if I can switch the configs like you do with
nginx.
On Wednesday, May 16, 2012 7:32:59 PM UTC+5:30, Kyle Burton wrote:
>
> > I'm not personal
> I'm not personally using this but people I trust recommend it highly.
> It has a free option plus fairly reasonable monthly options.
>
> http://www.pingdom.com/
We use a similar service: cloudkick
We have some custom plugins that we've written for it (to monitor
RabbitMQ consumers and queue siz
On Wed, May 16, 2012 at 3:13 AM, Murtaza Husain
wrote:
> Currently I am using noir for developing web apps. I am deploying them on an
> EC2 server, by running lein trampoline run in the project directory. I also
> have a nginx in front of it which is handling serving of static files.
>
> I have ne
You could probably use upstart or supervisord.
Upstart is available if you are on a newish ubuntu system (and maybe others?).
Supervisord could run on most linuxes I think, although I've only ever
used it on ubuntu.
Hope that helps,
Alex
On Wed, May 16, 2012 at 2:13 AM, Murtaza Husain
wrote:
>
Hi,
Currently I am using noir for developing web apps. I am deploying them on
an EC2 server, by running lein trampoline run in the project directory. I
also have a nginx in front of it which is handling serving of static files.
I have never had the apps crash, however recently on app was down o