node.js - How does event-loop occur in Nodejs? -


this question has answer here:

nodejs known best simplification "single thread". know, single thread handles requests through event loop. want ask:

is nodejs have 1 thread only? example, if there billion users on website, thread loop through billion times? or in fact there "small threads" large single thread use different stuffs?

thank you!


Comments

Popular posts from this blog

c# - Class in a list -

mysql - Django database model for my website -

ios - How to run a segue on itself OR another viewController -