due to business needs, I need to execute several different push notifications in one method. After thinking about it, I want to execute it through the queue. Now there are some questions that I need your bosses to point out:
how to write a document:
php artisan queue:work database
1. Can work be understood as a thread when running a queue? Can I open multiple connections? I mean, write like this, if not, can you use two connections? How to configure it?
php artisan queue:work database,databse1
2. Are queues executed in parallel?
Can the asynchronous queue of
3.laravel be understood as opening a separate thread and executing all queues in that thread instead of creating a separate thread for each thread? If I want to use a separate thread for each queue, can I only use swoole services?