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 9317879
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 19, 20262026-06-19T02:59:11+00:00 2026-06-19T02:59:11+00:00

Forgive my ignorance, but coming from a Django/Python background I can see the huge

  • 0

Forgive my ignorance, but coming from a Django/Python background I can see the huge benefit of having a Celery queue working through the slower processes in the background whilst the web interface is updated as quick as possible.

However, with Node working asynchronously, is the use case for a queue system diminished hugely?

For example:

1 – a user posts something to the site,
2 – the site responds, then mails an administrator.

In Django, you’d send off the admin mail to a task, to be executed later, and then respond to the request. Celery sends the mail in the background.

In Node, you call your mailer, then respond to the request. The mailer then sends a callback to say DONE or not, by which point the user is already viewing the response.

So why would I use a queue with Node? I’m guessing when things are more complex than this – it seems that for trivial things like transactional mails, it’s not necessary..

Or am I misunderstanding how it works!?

  • 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-06-19T02:59:13+00:00Added an answer on June 19, 2026 at 2:59 am

    You’re right, continuations are quite nice in node and if you’re running everything in a single node process there is no immediate need for a queue.
    However, as node is single threaded, node won’t be able to handle any new incoming requests while it’s busy sending that email or processing that task (if it’s a cpu intensive task)

    So if your tasks take a while to process cpu wise, it might still be worthwhile using an external queue and a seperate process to handle those tasks/messages.
    If your tasks are io intensive and take a while because they are waiting for responses from other servers for example, then there’s less of a need again as node deals well with io.

    If you have a cpu intensive task, but you don’t want to deploy a queue you could just create more node processes and machine instances and load balance across them, all letting them process these tasks. The disadvantage of this approach would be the you can’t scale the website and background processing separately. (e.g. 5 instances dealing with web requests and a 2 worker instances)

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

Sidebar

Related Questions

This is probably a very simple question so please forgive my ignorance, but can
Please forgive my all-encompassing ignorance, but I just can't get my table to look
Forgive my ignorance, but I am a beginner in java that comes from using
Forgive my ignorance, but I'm having trouble with sorting a data frame. I would
Forgive my ignorance, I am new to Python and I can't seem to find
Forgive my ignorance in asking this basic question but I've become so used to
Forgive my ignorance, but I am somewhat new to shell scripting and the use
Please forgive my ignorance, but I wasn't able to find an answer elsewhere. I
Please forgive my ignorance and poor SQL programming skills but I am normally a
First, forgive me my ignorance to ask this kind of question, but I couldn't

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.