Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node single event loop and multi-threading. #72

Open
karliky opened this issue Mar 22, 2018 · 1 comment
Open

Node single event loop and multi-threading. #72

karliky opened this issue Mar 22, 2018 · 1 comment

Comments

@karliky
Copy link
Collaborator

karliky commented Mar 22, 2018

Context

Node is single threaded. That is a very simple explanation of how it works. There is a thread pool to manage file handles. Two event loops, the main one and the worker pool. The main loop is divided in several important phases so it would be great to explain them in a simple way and how threading is managed in node/v8.

References

@karliky
Copy link
Collaborator Author

karliky commented May 7, 2018

I found this interesting discussion about how promises are implemented nodejs/node#2736

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants