Queues are designed to distribute the load and delay execution of commands or transfer their execution to separate processes.
Pull is a FIFO queue. Pull queue is designed to explicitly pull commands from the queue. You can do this on a timer through cron.
The implementation of such a queue is very simple, but it has a number of shortcomings:
- Delays the execution of commands due to the timer;
- Calling to the queue wasted due to the absence of messages in the queue;
- Increase network activity;
- Load increase.
To solve these problems, we recommend using a Subscribe queue.
You can use one of the existing queues: