How does the queue work?
&quot;How does X work?&quot; is a very broad question, and not one I intend to try and answer in detail here. Below are a few resources that should help get you started:
Robust queue job handling in Craft CMS
How to best design large queue jobs?
Also, here are all questions tagged with queue:
https://craftcms.stackexchange.com/questions/tagged/queue
Hope that helps!!