I have a list of tasks in my ruby on rails app which are called by a scheduler. In short, I use a scheduler to call
rake perform_hourly once every hour.
task :perform_hourly => :environment do
heroku = PlatformAPI.connect_oauth('<my api key>')
:command => "rake fetch_products",
:attach => false
task :fetch_products => :environment do
// Do product fetching stuff
Will this cause two instances of the app to be loaded into memory? One for
perform_hourly and one for
fetch_products? Thus, making my app use 3x the amount of avg instance memory during the running of these tasks?
It doesn't look like it, according to what I can see on New Relic but, on the other hand, I am trouble shooting many different issues at the same time and I want to rule this one out.