The complementary queues of the queue manager provides a flexible and effective solution to manage background tasks in CS-Cart.
It supports two queue backends – Database and Rabbitmq – allowing merchants to choose the best solution for their business needs.
This double fiction system allows asynchronous work treatment, improving performance and scalability of the system.
Key characteristics
- Support for the multiple backend of the queue: Choose between the database or the rabbit.
- Batch processing capacities: Treat several works in a single execution cycle.
- Automatic recovery mechanism: Failed jobs are reduced to 3 times Before being marked as failed.
- Detailed operating system: Hold complete newspapers for debugging and monitoring performance.
- Evolutionary architecture: Supports high volume transactions and distributed environments.
- Performance improvement: Effectively manage bulk operations without affecting frontal experience.
- Reliable treatment: A new integrated attempt mechanism guarantees work completion.
- Scalability: Supports monocarturous and distributed architectures.
Facility
1. When you download the “File way”You will get a zip file and the install.txt file. Read it carefully and follow it. After that, install the zip file.

Configuration
Once installed, the queue manager must be configured according to your favorite queue backend:
- Access additional parameters via Additions → Downloaded supplements → File manager → Settings.
- Choose it File manager type:: Database Or Rabbit.
- Configure the treatment with lots using the “Articles count” setting.
- If you use RabbitProvide the necessary connection settings (host name, port, identification information, etc.).
- If you use a DatabaseThe system automatically generates the tables required for employment management.


Compatible compatible
The queue manager fits perfectly with several CS-Cart additional modules, in particular:
DB queue states
The queue system follows the execution of employment through various states:
- on hold: The system places a work in the queue, pending execution.
- in the trial: The system is currently carrying out work.
- failed: The system recovers the work up to three times after a failed execution before scoring it in the event of failure.
Computer science
Use of the database:
The system creates each work with a pending state when using the database as a queue manager for the importation of data.

A labor worker is responsible for the treatment of these jobs. To trigger the worker manually, run the following order in the terminal:
curl -k "{{baseurl}}/index.php?dispatch=queue_handler.import_data"
During the execution, the status of the work passes to in_process
.

If the system has successfully completed a job, it deletes the work of the database.
However, if an error occurs during treatment, the system updates the state of work to “stranded” and enhance it. The system allows each work a maximum of three attempts at treatment.

Use of rabbitmq:
When you use Rabbitmq as a leader manager for data importation, the system stores data as messages in the Rabbitmq queue.

A labor worker is responsible for processing and importing data from the Rabbitmq queue. To trigger this worker manually, run the following order in the terminal:
curl -k "{{baseurl}}/index.php?dispatch=queue_handler.import_data"


Ideal use case
The queue manager is perfect for managing high-intensity background processes such as:
- Updates of bulk products: Effectively treat large -scale products imports.
- Control of orders: Manage high volume control operations without delay.
- Data synchronization: Synchronize data on different platforms in real time.
The complementary module of the queue manager for CS-CART is a robust and scalable solution designed to rationalize the management of background tasks.
Whether it is a unique configuration or a complex distributed environment, this additional module offers flexibility, reliability and performance necessary to optimize the treatment of asynchronous work.
The support offer both for the database and RABBITMQ ensures that CS-CART users can select the best queue system that aligns with their operational requirements.
Support:
Have any problems, do not hesitate to add a ticket and let us know your point of view to improve the module
In addition to that, you can explore our CS-Cart development services and our quality CS-Cart modules.
Current product version – 1.0
Comments are closed, but trackbacks and pingbacks are open.