A Holistic Approach to Reducing Cost and Resource Consumption