Applying reinforcement learning towards automating resource allocation and application scalability in the cloud | Synapse