an elastic, threadsafe queue