Towards a cross-layer coupled design framework for big data workflows