Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4003268
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T08:07:55+00:00 2026-05-20T08:07:55+00:00

I have a Django web application which creates and saves jobs in a database.

  • 0

I have a Django web application which creates and saves jobs in a database. For every job I have to send email and export data to another system. I want to make asynchronous.

What is the recommended way to do tasks like this?

  • It has to be reliable (no jobs missed if the service is stopped accidentally).
  • There has to be easy way to find logs if something goes wrong.
  • I want to be able to easily add more workers that will process the jobs.

  • Maybe it will be better if the job queue is the same database table so I can easily cancel jobs by simply changing their status in database?

  • Maybe it will be better if the solution is somehow related to the Django framework?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T08:07:56+00:00Added an answer on May 20, 2026 at 8:07 am

    I would look into using http://celeryproject.org/ and in your case you could probably use https://github.com/ask/django-celery to simplify integration with your existing application although using celery yourself within your django project should be pretty straightforward as well.

    Celery provides a function/class based abstraction for tasks that should be run asynchronously on worker machines. You can have multiple worker machines and add workers dynamically. The whole thing is powered by RabbitMQ (www.rabbitmq.com) so your django app will put tasks into the queue by basically doing something like:

    from mycelerytasks import send_email
    
    ...
    
    deferred_result = send_email.apply_async(*args, **kwargs)
    

    If you want to wait for the task to complete you could do deferred_result.wait() but in your case you’d probably just discard it and let your view finish so the user isn’t waiting around for an answer.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Do the major web application frameworks (Rails, Django, etc) have libraries that provide functionality
I have django supported web application. when i hit refresh button on a page
So I have a Django web application and I need to add a payment
I only have one VPS hosting and using nginx for Django web application. Now,
I have developed a web application in Django and would like to go online
I currently have a very simple web application written in Django, and I would
I have a web report that uses a Django form (new forms) for fields
I've been developing a web application (written in Python/Django) for a while. All my
I'm building a web application where I have 2 sets of users (students and
Does Django have any template tags to generate common HTML markup? For example, I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.