I have a bunch of cron jobs which run almost every 2 minutes. I am looking for a way to keep Rake::Task[:environment] always in memory so that I don't have to load it explicitly everytime I execute some models dependent rake tasks. How can I go about doing this?
Johnsyweb's comment about zeus is a good one. You might also consider a background processing solution like sidekiq. http://sidekiq.org
Depending on how many a "bunch" is anyway.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.