The Queue Handler add-on gives a versatile and environment friendly answer for managing background duties in CS-Cart.
It helps two queue backends—Database and RabbitMQ—permitting retailers to decide on the most effective answer for his or her enterprise wants.
This dual-queue system allows asynchronous job processing, bettering system efficiency and scalability.
Key Options
- A number of Queue Backend Help: Select between Database or RabbitMQ.
- Batch Processing Capabilities: Course of a number of jobs in a single execution cycle.
- Computerized Retry Mechanism: Failed jobs are retried as much as 3 occasions earlier than being marked as failed.
- Detailed Logging System: Preserve complete logs for debugging and efficiency monitoring.
- Scalable Structure: Helps high-volume transactions and distributed environments.
- Improved Efficiency: Effectively deal with bulk operations with out affecting the front-end expertise.
- Dependable Processing: A built-in retry mechanism ensures job completion.
- Scalability: Helps each single-server and distributed architectures.
Set up
1. While you obtain the “Queue Handler”, you’ll get one zip file and the set up.txt file. Learn it fastidiously and comply with it. After that, set up the zip file.


Configuration
As soon as put in, the Queue Handler must be configured primarily based in your most well-liked queue backend:
- Entry add-on settings by way of Add-ons → Downloaded add-ons → Queue Handler → Settings.
- Select the queue handler kind: Database or RabbitMQ.
- Configure batch processing utilizing the ‘Objects Rely’ parameter.
- If utilizing RabbitMQ, present the mandatory connection settings (hostname, port, credentials, and so on.).
- If utilizing a Database, the system routinely generates the required tables for job administration.


Appropriate Add-ons
The Queue Handler integrates seamlessly with a number of CS-Cart add-ons, together with:
DB Queue States
The queue system tracks job execution by way of varied states:
- pending: The system locations a job within the queue, ready for execution.
- in_process: The system is at the moment executing the job.
- failed: The system retries the job as much as 3 times after a failed execution earlier than marking it as failed.
Information Processing
Utilizing Database:
The system creates every job with a pending standing when utilizing the database as a queue handler for knowledge import.

A job employee is answerable for processing these jobs. To set off the job employee manually, run the next command within the terminal:
curl -k "{{baseurl}}/index.php?dispatch=queue_handler.import_data"
Upon execution, the job standing adjustments to in_process
.

If the system efficiently completes a job, it removes the job from the database.
Nonetheless, if an error happens throughout processing, the system updates the job standing to ‘failed’ and retries it. The system permits every job a most of three processing makes an attempt.

Utilizing RabbitMQ:
When utilizing RabbitMQ because the queue handler for knowledge import, the system shops the information as messages within the RabbitMQ queue.

A job employee is answerable for processing and importing knowledge from the RabbitMQ queue. To set off this job employee manually, run the next command within the terminal:
curl -k "{{baseurl}}/index.php?dispatch=queue_handler.import_data"


Superb Use Circumstances
The Queue Handler is ideal for dealing with resource-intensive background processes comparable to:
- Bulk Product Updates: Course of large-scale product imports and updates effectively.
- Order Processing: Deal with high-volume order operations with out delays.
- Information Synchronization: Sync knowledge throughout completely different platforms in actual time.
The Queue Handler add-on for CS-Cart is a strong and scalable answer designed to streamline background process administration.
Whether or not working a single-server setup or a fancy distributed atmosphere, this add-on gives the pliability, reliability, and efficiency wanted to optimize asynchronous job processing.
Providing assist for each Database and RabbitMQ ensures that CS-Cart customers can choose the most effective queueing system that aligns with their operational necessities.
Help:
Nonetheless have any points, be at liberty so as to add a ticket and tell us your views to make the module higher http://webkul.uvdesk.com
Apart from this, you may discover our CS-Cart Growth Providers and High quality CS-Cart add-ons.
Present Product Model – 1.0