Queuing buffer for batch queuing systems