SQLR: Short-Term Memory Q-Learning for Elastic Provisioning