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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T05:04:26+00:00 2026-06-14T05:04:26+00:00

This is following my earlier question Node.js Non Blocking Nature . I still can’t

  • 0

This is following my earlier question Node.js Non Blocking Nature .
I still can’t feel I completely understand what is happening with Node.js . Lets say Node got a request for a big file upload from a user . Now we say we put the code to handle with the file in a callback , thus making it asynchronous . What happens next ? Lets say the callback got put in a big list of events the Node.js app needs to take care of , so thus far it is NOT blocking . But at some point the callback gets pulled out from the event loop and it’s code starts running (uploading or downloading the file , whatever) . What now ? Is the Node.js app being blocked now ? If so – how does it not destroy the app’s performance , and if not – who is in charge of ‘jumping’ between different events and requests ? We understand that in apache or similar servers there is special code to handle all the threads(timing them) so that no thread chokes all the others .In Node however , as I understand , there is an event loop . When the file I\O finishes , it’s callback magically returns with the ready file . Nevertheless , the server still has to do the I\O , no escaping that ! Is the code in the event loop being timed ? For example jumping between different events(callbacks..whatever) so that no request chokes the other? If so , in what manner ?

  • 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-14T05:04:27+00:00Added an answer on June 14, 2026 at 5:04 am

    I think this subject is complicated enough (at least for newcomers) to deserve a thorough read and can’t be understood by read a 5 line answer. This is the best resource I found http://www.theserverside.com/discussions/thread.tss?thread_id=61693 . He doesn’t think so highly of Node.js but he does take a lot of effort to explain it . Worth a read in my opinion.

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

Sidebar

Related Questions

This question can be considered a follow-up to the following question: C++ temporary variable
Following on from this earlier question , I've had a look at the Heroku
Following up on my earlier question regarding GAE Datastore entity hierarchies , I'm still
In this earlier question the OP asked the following problem: Given a rectangular grid
Following on from this earlier question I'm on PostgreSQL 8.4 and am having trouble
assume this following function: int binaryTree::findHeight(node *n) { if (n == NULL) { return
This is basic stuff but I can't get this following form to process reliably.
(Split from an earlier question). Does anyone know what's going on here? The following
I asked this question earlier, and after thinking about the topic some more, I
I asked this goofy question earlier today and got good answers. I think what

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.