Text this: Optimal design of queueing systems