A strategy to optimize resource allocation in auction-based cloud markets