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

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

java - Digest auth with Spring Security using javaconfig -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -