Reinforcement Learning Based Resource Management in Edge Systems