Skip to content

Add Celery support for heavy tasksΒ #23

Description

@n0nuser

πŸš€ Feature Request

Is your feature request related to a problem? Please describe.

  • The current repository does not support handling heavy or long-running tasks efficiently. This can lead to performance issues and a poor user experience for applications that require background processing.

Describe the solution you'd like

  • Integrate Celery to handle heavy and long-running tasks asynchronously. This includes:
    • Setting up Celery with the repository to offload tasks from the main application.
    • Configuring Celery to use a message broker like Redis or RabbitMQ.
  • Integrate Flower to monitor and manage Celery tasks. This includes:
    • Setting up Flower to provide a web-based UI for monitoring task execution and status.
    • Ensuring Flower can be easily started alongside the main application and Celery worker.

Describe alternatives you've considered

  • Implementing custom background task handling, which can be complex and less reliable compared to using Celery.
  • Using other task queues or job processing systems, but Celery is widely adopted and has extensive community support and documentation.

Additional context

  • Adding Celery support will significantly enhance the repository's ability to handle resource-intensive and time-consuming tasks without blocking the main application.
  • Including Flower provides an intuitive way to monitor and manage tasks, improving the maintainability and reliability of applications built using this repository.
  • Providing example configurations and usage documentation for Celery and Flower will help developers quickly set up and utilize these tools.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions