Are there any best practive in running multiple message queue workers in Shopware 6? We disabled the Admin Worker und configured supervisor.d to run 5 processes of messenger:consume and 1 process of scheduled-task:run . We experienced some weird issue: Enqueue seems to have some 20 minute processing time limit (redeliver_after). After 20 minutes of processing a job seems to be considered stale and any other worker is free to take responsibility for it. We also had infinite loops of message dispatching. The whole collaboration between enqueue, symfony/messenger and Shopware is so complex and Shopware documentation is so parse on that.
How to use multiple queue worker with Shopware 6?
1.6k Views Asked by Marius At
1
There are 1 best solutions below
Related Questions in SYMFONY
- Doctrine batch inserting uses 2GB of Ram
- Adding a callback when reading from an object in Twig
- Using Twig variable in AngularsJS
- Twig : Unescape hexadecimal text
- Symfony : is it better to use a trait or an intermediary class to complete Controller one?
- Symfony 2 form - date widget and validator
- Persisting other entities inside preUpdate of Doctrine Entity Listener
- Symfony2 - Custom annotation loading
- Display a findAll() result in a form
- What is the point of the name method in the symfony2 annotation?
- How to pass a function as a parameter in admin class
- doctrine/migrations incompatible with symfony 2.2.*
- Expected argument of type "string or Symfony\Component\Form\FormTypeInterface"
- Routing problems with AngularJS and Symfony
- symfony and google identity toolkit
Related Questions in MESSAGE-QUEUE
- Message Queues: Per Message Guarantees
- mq_timedsend() returns error 14 "bad address"
- Posix message queues and the command line?
- Best way to ensure an event is eventually published to a message queuing sytem
- Azure Service Bus Queue grouped messages
- How to interrupt an xQueueReceive() API in FreeRTOS?
- Spring JMS - Unable to connect to broker URL with embedded Broker
- How to do error handling with EasyNetQ / RabbitMQ
- Setting message priority in RabbitMQ PHP
- Using a queuing system to do custom logic
- Storm-jms Spout collecting Avro messages and sending down stream?
- How many tcp connection created on a queuing protocol such as ZeroMQ
- RabbitMQ: How to send Dead Letter Exchange from Erlang client
- What happens to message in queue of 1 length which is not acked in rabbitmq?
- Can I view raw message in iron.io webpage?
Related Questions in MESSENGER
- Updating a two-way java messenger chat to allow multiplie users
- IP Messenger for CentOS 7
- Replacing system emoji with custom emoji on iOS
- Facebook Messenger bot in PHP, what am I doing wrong?
- Why do I need manually tap 'Refresh' in Applozic Chat?
- How to display an emoji in a Facebook Messenger bot?
- cant send a Generic Template from messenger api (facebook)
- Facebook bot appearing as a non-messenger user on certain phones
- Track telegram messenger client
- Difficulties in programming of messenger Telegram on C#
- Third Party SMS/MMS app - import contact info vs. read contact info
- Optional input() statement
- How to request page messaging permissions on facebook apps?
- Unable to create a Webhook for my Facebook Chatbot
- Sent a receipt through Facebook Messenger after user logged in with Facebook
Related Questions in SHOPWARE
- Change .htaccess to redirect to a specific URL
- Changing the frontend language & multiple countries support in Shopware
- Customer-specific prices with Algolia
- Internal Server Error 500 Shopware 5.2
- Overriding Template in Shopware 4 from plugin
- How can I mock a method that should accept an array?
- rest api: article update with csv
- Accessing a legacy Shopware plugin from one written for Shopware 5.2
- Preload font on smarty and use on @font-face
- How to show entries of custom entity as options for a selector in frontend in Shopware 5?
- Doctrine / ExtJS: Use model to create another model
- How to perform a redirect in Enlight_Event_EventArgs object subscriber in Shopware 5?
- How to subscribe to predispatch of registration in Shopware 6 just like shopware 5?
- How to add package.json to storefront plugin in Shopware 6?
- Setup Multiple Sales Channels on same domain, and getting 500 Internal Server Error
Related Questions in ENQUEUE
- using Retrofit enqueue calls getting problem
- wordpress attach scripts not working properly
- Magnific-popup enqueue stylesheet not loading properly in wordpress
- INDEXERROR on Enqueue function (Python)
- Mulesoft - problem with azure-service-bus-messaging:message-listener
- Enqueue and Dequeue Functions
- EnqueueBundle , google pub sub transport
- Child theme style.css not overwriting index.php on Wordpress
- WorkManager: java.lang.VerifyError: Verifier rejected class androidx.work.impl.OperationImpl
- Kotlin Retrofit cannot return data made in onRespons function
- Is it possible to unenqueue ALL css files from loading on the front end of Wordpress but keep backend loading css as normal?
- Implement a queue using doubly linked list
- Twilio / TwiML on iOS - Using Enqueue and Dial
- WP enqueue script order and localize errors , hook needed?
- WordPress theme wp_enqueue_style() doesn't work after uploading it
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Due to nobody else posting an answer, I'll answer this one myself. What we discovered: Even with just one worker jobs running more than 20 minutes cause constraint violations on table message_queue_stats. We have one or two jobs which exceeds this limit. We will try to increase this limit. Futhermore we encounter deadlocks in MySQL on enqueue table. I guess that needs further investigation. Finally we switched to Redis for queue persistence. You have two options here: Redis Adapter from Symfony Messenger or Redis Adapter for Enqueue. We tried both and it worked better with Enqueues Redis Adapter. Keep in mind Shopware advises to use RabbitMQ for having multiple workers.