Enhancing efficiency and endurance of flash-based storage for big-data processing on cloud and data center infrastructures