Push and pull queues

The task queue offers two methods for workers to consume tasks—pushes and pulls. Each of these methods has advantages, and which method to use will depend heavily on the nature of the workload to be completed.