Algorithms and Approximations for Queueing Systems.