Separate queue process and queue data structure