This service is used to process tasks that are added to the queue. You just need to modify it as needed. It makes use of the BullMQ library and the NestJS framework with redis.
The service is designed to be scalable and fault tolerant. It can be run on multiple instances and will automatically distribute the tasks across the instances.
The service is also highly configurable, allowing the user to define the number of concurrent tasks and the delay between retries.
The service supports the following features:
- Processing tasks in a queue
- Configurable concurrency
- Configurable delay between retries
- Scalable and fault tolerant
- Supports multiple instances
- can be able to handle heavy task
The service can be used in any NestJS application. To use the service, simply import the service module and inject the service.