Back to Developer Roadmap

Bg Tasks

src/data/question-groups/backend/content/bg-tasks.md

4.0651 B
Original Source

It highly depends on your tech stack and what those background tasks are doing. And because of that, there are many options:

  • Using task queues such as RabbitMQ or Amazon SQS. These will let you have workers in the background as secondary processes while your application continues working.
  • There are background job frameworks such as Celery for Python or Sidekiq for Ruby.
  • You can also just rely on cron jobs if you want.
  • If your programming language permits it, you can also use threads or workers to run these tasks in the background but within the same application.