The effectiveness of throughput sampling for capacity management: A queueing approach