Resource preprocessing and optimal task scheduling in cloud computing environments | Synapse