SmartQ: a better way to outsmart never-ending queues