I have a few dozen daemons and all of them load the rails environment.
Each one uses the DaemonSpawn gem to daemonize itself. I was
thinking that I could save a lot of memory if I could somehow share
the rails environment between all of these daemons. It seems to me
the simplest thing to do would be to use the daemonize gem and do a
Daemons.run('myserver.rb') for each of the daemons but I am not sure
that this would actually solve my problem or not.
I am wondering if anybody else has had this issue and what they did to solve it.
Thanks.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.