I got much familiar with airflow's programming features by trying out lot of samples.. What's keeping me from digging further is how it can perform its job without overloading the CPU or RAM, is there a way to control the Load so that it won't run out of resources
I know one way to reduce the load when scheduler does its job of 'scheduling and picking out the files more often' by changing the values for the following fields min_file_process_interval and scheduler_heartbeat_sec to a minute interval or so. Though it reduces the constant CPU hike, but when the interval passes(i.e., after a minute), It suddenly goes back to sucking ~95% of the CPU as it does during the startup.. How do you reduce that as well so it never consumes more than 70% of the CPU at least ?
EDITED:
Also, when the scheduler_heartbeat interval passes, i see all my python scripts execute once again.. is this the way it works? i thought it will pick up the new DAG if any after the interval otherwise wouldn't do anything.