[raleigh.rb] Long running, stateful Ruby processes
Fred Medlin
fmedlin at gmail.com
Fri Apr 22 15:23:39 EDT 2011
I've been happy with the daemons gem http://rubygems.org/gems/daemons to
keep a ruby process up and running for a long time.
On Fri, Apr 22, 2011 at 3:07 PM, Brian Adkins <info at lojic.com> wrote:
> I'm developing a Rails app that will need to interact with a separate, long
> running, stateful Ruby process. I've managed to happily avoid the need for
> this sort of thing for years, but I need to maintain a persistent connection
> to a mainframe, so I'll need a stateful process to manage the connection.
>
> Any recommendations for monitoring tools to support this? I mainly need
> something to detect when the process is hung/crashed, and restart it
> automatically. The deployment platform is Linux, so maybe something like
> monit is sufficient, but I thought I'd see if folks know of anything better.
>
> Also, there is no relational db involved (only MongoDB), so even if
> something like delayed_job is able to maintain state, it might be a
> challenge if it depends on a rdb table.
>
> Thanks,
> Brian
>
> --
> Brian Adkins
> Lojic Technologies, LLC
> http://lojic.com/
>
>
>
>
> _______________________________________________
> raleigh-rb-members mailing list
> raleigh-rb-members at rubyforge.org
> http://rubyforge.org/mailman/listinfo/raleigh-rb-members
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20110422/536bea68/attachment.html>
More information about the raleigh-rb-members
mailing list