Enviar por SMS: Self-tunable DBMS replication with reinforcement learning