I am learning through the architecture of Node.js. I have following questions.
- Is event loop a part of libuv or v8?
- Is event queue a part of event loop? are event queue generated by libuv or v8 engine or event loop itself?
- What is the connection between libuv and v8 engine?
- If event loop is single threaded, does libuv come into picture to create multiple threads to handle File I/O?
- Does browsers have event loop mechanism or just Node.js does?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…